Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"File Already Exists" for Save As Dialog Box 3

Status
Not open for further replies.

Currivan

MIS
May 12, 2004
25
US
I need to know the proper flag value when using the "Save As" common dialog box that presents an error message box if the file already exists... (I know the flag value for the "Open" common dialog box that presents an error message box if the file does not exist.) Any help would be greatly appreciated.
 
cdlOFNOverwritePrompt

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Here is one source:

[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
 
Also if you type commondialog and press F1 in the IDE you will get info on the CommonDialog Control and then click the Properties link and choose the Flags Property(Open, Save As ) and there it is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top