| |

VerySource

 Forgot password?
 Register
Search
View: 888|Reply: 5

How to set CommonDialog1.Filter?

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-21 14:20:01
| Show all posts |Read mode
Ask a question:

Here is the code to find online
CommonDialog1.Filter = "Database file (* .mdb) | * .mdb | Text file (* .txt) | * .txt"

I want to open all picture files. How to write?

CommonDialog1.Filter = "All image files | * .jpg"

What about bmp? How can I add it?

Thank you!
Reply

Use magic Report

0

Threads

18

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-2-1 19:27:01
| Show all posts
CommonDialog1.Filter = "All image files | *. *"
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-2-7 17:15:02
| Show all posts
CommonDialog1.Filter = "All picture files | * .jpg; *. Bmp; *. Gif"
Other formats are separated by semicolons; separated
Reply

Use magic Report

0

Threads

46

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-2-7 19:00:01
| Show all posts
correct


CommonDialog1.Filter = "All picture files | * .jpg; *. Bmp; *. Gif"
Other formats are separated by semicolons; separated
Reply

Use magic Report

0

Threads

21

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-2-11 18:30:02
| Show all posts
Agree with the two upstairs ^ _ ^
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-4 20:30:01
| Show all posts
learned
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list