FIX: Form and Class Library Corrupted by Documenting Wizard (257702)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q257702 SYMPTOMS
Custom properties added to a form or class should display a value of nothing (None) in the design interface. Instead, there is a heavy bar character followed by some text. This text usually consists of the name of another of the form or class object's properties.
CAUSE
Within the "properties" field of the form's .scx file, or the visual class library's .vcx file, there is no trailing space following the equal sign (=) in the property's declaration statement. The form or class files are generated by the Documenting Wizard of any Microsoft Visual FoxPro version prior to Visual FoxPro 6.0 in Visual Studio 6.0 Service Pack 3.
RESOLUTION
It most cases, the problem can be fixed by using the form or class library file as a table and issuing a REPLACE statement as follows. For example, if the problem exists in a form named Form1, perform the following:
USE form1.scx
REPLACE properties WITH STRTRAN(properties,"="+CHR(13),"= "+CHR(13))
This can also be repaired by running the Documenting Wizard shipped with Visual Studio Service Pack 3. The generated code has the necessary space after the equal sign for customer properties where the value is nothing. NOTE: Always save backup copies of your project code before processing it through the Documenting Wizard.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed To download the latest Visual Studio service pack, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 12/12/2005 |
---|
Keywords: | kbBug kbfix kbVS600sp4fix kbVS600sp5fix kbwizard KB257702 |
---|
|