
Common Dialog Problem (Win '95 VB 3.0)
Ok, I'm using VB 3.0 (Std.) and Windows '95.
Seems I can't get some aspects of the File-Save As Common Dialog to work
properly. When the Dialog Box comes up, if I pick a file that already exists,
everthing works OK except it dosen't ask me if I'm sure I wnat to overwrite.
I'm using CMDialog1.Flags = OFN_OVERWRITEPROMPT for this.
(BAS File entry: Const OFN_OVERWRITEPROMPT = &H2&)
But, If I type in a new file name or press the Cancel, I get an error.
I have Action = 2 and CancelError = False. I managed to get around it via
an On Error Resume Next line, but would rather not.
Can somebody help?
Thanks
Robert