PRB: Project Base Class Is Added to Visual SourceSafe (193582)
The information in this article applies to:
- Microsoft Visual SourceSafe for Windows 6.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q193582 SYMPTOMS
If you have created a Visual FoxPro project (.pjx) that utilizes a
ProjectHook class and you add the project to SourceSafe, you receive the
following error:
Source Control cannot operate on open file <projecthook file name>.
Close the file and try again.
CAUSE
When you add files to Visual SourceSafe through Visual FoxPro integration,
the files must be closed. The ProjectHook class .vcx is opened
automatically by the .pjx and cannot be added to Visual SourceSafe.
RESOLUTION
In the "Add Files to Source Control" dialog box, deselect the .vcx that
contains the ProjectHook class. If you want to store the ProjectHook class
in Visual SourceSafe, create a new .pjx that is not based on a ProjectHook
class and add the .vcx there. You can then add the new .pjx to Visual
SourceSafe.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
Visual FoxPro 6.0 Help
Visual FoxPro Programmer's Guide
What's New in Visual FoxPro
Application Development and Developer Productivity
Modification Type: | Minor | Last Reviewed: | 3/10/2005 |
---|
Keywords: | kbinterop kbprb KB193582 |
---|
|