Common Dialog Problem (Win '95 VB 3.0) 
Author Message
 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



Tue, 23 Jun 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Font Common Dialg in Win 95 using VB 3.0

2. MS stance on setup wiz problem (VB 3.0 /Win 95 distrib to earlier Wins)

3. VB 3.0 Can't Find Database in Win 95

4. VxD VMM error while running VB 3.0 applications on WIn '95

5. Problem with winexec using VB 3.0 app on Win 95

6. Problems using VB 3.0 on Win 95 ???

7. Problems using VB 3.0 on Win 95 ???

8. Problems using VB 3.0 on Win 95 ???

9. Problems using VB 3.0 on Win 95 ???

10. Problems using VB 3.0 on Win 95 ???

11. Problems using VB 3.0 on Win 95 ???

12. Problems using VB 3.0 on Win 95 ???

 

 
Powered by phpBB® Forum Software