FIX: Project Object Modify Method Fails if Path Contains Spaces
ID: Q221692
|
The information in this article applies to:
-
Microsoft Visual FoxPro for Windows, version 6.0
SYMPTOMS
In Visual FoxPro 6.0, modifying a visual class programmatically, using the Project object Modify method, fails if the path to the project file contains spaces.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug has been fixed in Visual Studio 6.0 Service Pack 3.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a directory named "aa bb."
- In the Visual FoxPro Command window, change the default directory to "aa bb."
- Create a project, named Test.
- In the Project Manager, select the Class tab.
- In the Class tab, click the New button to create a new form class called F1 and saved it as F1.VCX.
- While the Project Manager is still open, issue the following command in the Command window:
_VFP.ActiveProject.Files.Item("f1.vcx").Modify("f1")
Note that the following Visual FoxPro error appears:
OLE error code 0x80004005: Unspecified error
Additional query words:
KBDSE
Keywords : kbProjManager kbVFp600 kbVS600sp3fix kbGrpFox kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug