Re: Common dialog control returns wrong filename
From: Norman Diamond (ndiamond_at_nospam.nospam)
Date: 10/12/04
- Next message: Norman Diamond: "RE: KeyPreview doesn't trap Enter key"
- Previous message: Norman Diamond: "RE: KeyPreview doesn't trap Enter key"
- Next in thread: Peter Huang: "Re: Common dialog control returns wrong filename"
- Reply: Peter Huang: "Re: Common dialog control returns wrong filename"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 18:55:04 -0700
"Franz Strele" wrote:
> "Norman Diamond" <ndiamond@nospam.nospam> schrieb im Newsbeitrag
> news:2AF9BB59-EAE5-413F-B975-FC9901C42FA3@microsoft.com...
>
> > common dialog control returns to your program a filename of an existing file
> > instead of the new name that you put on the filename line. Your program will
> > destroy your customer's existing data.
>
> if you set the overwrite-prompt-flag ("cdlOFNOverwritePrompt" for vb,
> "OFN_OVERWRITEPROMPT" for win32-api) you get at least a warning that the
> (existing) file gets overwritten...
Herr Strele, thank you for your suggestion. I do not mark your posting as an
"answer" because the bug (Windows bug instead of VB bug) still remains, it is
a serious bug, and I don't want Microsoft to think it is solved. But as a
partial
workaround it is indeed helpful, thank you.
- Next message: Norman Diamond: "RE: KeyPreview doesn't trap Enter key"
- Previous message: Norman Diamond: "RE: KeyPreview doesn't trap Enter key"
- Next in thread: Peter Huang: "Re: Common dialog control returns wrong filename"
- Reply: Peter Huang: "Re: Common dialog control returns wrong filename"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|