FIX: GPF When Making .EXE File If Forms Saved as Binary (94892)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
This article was previously published under Q94892 SYMPTOMS
In version 2.0, a general protection (GP) fault can occur when you replace
text boxes originally created in version 1.0 with the new version 2.0
Masked Edit Text boxes, and then use the existing code. The GP fault
occurs in version 2.0 when you try to turn the Visual Basic project into
an executable (.EXE) program.
WORKAROUND
To work around the problem, save the project's forms and code in Text
format rather than the default Binary format.
Use the following steps to save the code in Text format: - Select each form one by one from the Project window.
- With each form, go to a code window of that form by double-clicking
the form or by pressing the F7 key.
- From the File menu, choose Save Text... to save each form's code as a
.TXT file. Then from the File menu, choose Load Text... and highlight
the .TXT file just created; then choose the Replace button.
- After completing steps 1 through 3 for each form in the project, restart
Visual Basic and load the project by choosing Open Project... from the
File menu.
- From the File menu, choose Make Exe...
STATUS
Microsoft has confirmed this to be a bug in Microsoft Visual Basic
version 2.0 for Windows. This problem was corrected in Microsoft Visual
Basic version 3.0 for Windows.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbbug KB94892 |
---|
|