Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Common Dialog
Message
From
15/10/1997 23:06:39
Michael Urban
National Weather Service
Wichita, Kansas, United States
 
 
To
All
General information
Forum:
Visual C++
Category:
Troubleshooting
Title:
Problems with Common Dialog
Miscellaneous
Thread ID:
00054814
Message ID:
00054814
Views:
72
I am using VB5 Pro, and am getting an error that I cannot track down.

I have a form which contains a text box, one command button, a menu and the common dialog control. In the
menu, I have an open option, which displays a message box (warning the user that the newly opened file will
cancel any changes made to the currently displayed text in the text box), followed by the Open common dialog
box. When running in the VB Environment, there is no problem. However, when compiled, I receive an error 5
after the dismissal of the msgbox, while the Open dialog box displays. There is NO intervening code between the
msgbox function and the .ShowOpen event. If I comment out the message box, the error goes away. This error is
not trappable, and the error message box is a generic one, not one which comes from my subroutine (which
contains error handling). As a test, I placed a message box before a .ShowSave event, and also received the same error. Has anyone else experienced this, or have any clue as to what is going on here?

TIA,

Michael Urban
Michael.Urban@noaa.gov
Next
Reply
Map
View

Click here to load this message in the networking platform