BUG: Can't Load VB 3 Binary Form with Some Extended Characters (149325)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
This article was previously published under Q149325 SYMPTOMS
Adding a Visual Basic 3.0 form that contains code with some extended
characters to a Visual Basic 4.0 16-bit or 32-bit project causes the
following error:
The basic code in <filename> was corrupt, and couldn't be loaded.
The problem has been confirmed with the ANSI characters 196/228, 197/229,
214/246, 201/233, and 220/252. It may occur with other extended characters
also. The problem only occurs if actual code contains these extended
characters; it doesn't happen if a property is set to a string with one or
more of the problem characters. This problem does not occur if the Visual
Basic 3.0 form is saved as text rather than as binary, and also does not
occur if the file name of the form does not contain any of the problem
characters.
RESOLUTION
Use one of the following workarounds to avoid this problem:
- Load the form(s) into Visual Basic 3.0 and save them as text before
loading them into either bitness of Visual Basic 4.0. This is the
preferred solution and should work in all cases.
- It may be possible to work around the problem by changing the file name
of each problem form to one that does not contain any of the problem
characters. This can be done with File Manager or Explorer after saving
the form in Visual Basic 3.0 but before loading the form into Visual
Basic 4.0 16- or 32-bit. Once the form has been loaded, it can be saved
from Visual Basic 4.0 with the original filename.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbBug kbpending KB149325 |
---|
|