Microsoft KB Archive/221692

= FIX: Project Object Modify Method Fails if Path Contains Spaces =

Article ID: 221692

Article Last Modified on 7/14/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q221692



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 that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug has been fixed in Visual Studio 6.0 Service Pack 3.



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") </li></ol>

Note that the following Visual FoxPro error appears:

OLE error code 0x80004005: Unspecified error

Additional query words: KBDSE

Keywords: kbbug kbfix kbprojmanager kbvs600sp3fix KB221692

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.