| |

VerySource

 Forgot password?
 Register
Search
View: 618|Reply: 2

Save the problem for one line of code

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-30 14:20:01
| Show all posts |Read mode
I use the dialog CommonDialog1 to save an image with a file name. If the file name is now used, it already exists. I want to be prompted if the file already exists and whether I want to overwrite it. If you do not want to overwrite it, save it under another name. Thank you.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-3-7 23:45:01
| Show all posts
CommonDialog1.Flags = 6
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-9 15:30:02
| Show all posts
Thank you!!!!
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