MOD2000: Errors After You Rename Project in Visual SourceSafe Explorer (234835)
The information in this article applies to:
- Microsoft Office 2000 Developer
- Microsoft Visual SourceSafe for Windows 6.0
This article was previously published under Q234835 SYMPTOMS
If you rename a project that was created with the VBA Source Code Control Add-in in the Visual SourceSafe (VSS) Explorer, you lose the connection to the project in the Visual Basic Editor. You receive an error similar to the following when you try to perform an action by using the Visual Source Code Control Add-in:
The current VBA Project cannot be found in current Source Safe database. Would you like to remove this project from source code control?
You then receive the following error message:
Object variable or With block variable not set
RESOLUTION
If you rename the VSS project back to the original name, you regain the connection. The original project name is stored in the VSSODE module of the current VBA project. To determine the original name, open the VSSODE.bas file in the VSS Explorer. Then, look for the line where <original_projectname> is the original name of the project:
' SCC_Project_Name =$/<original_projectname>
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/2/2001 |
---|
Keywords: | kbbug kberrmsg KB234835 |
---|
|