Microsoft KB Archive/234830

= MOD2000: "File Not Found" Error When You Check in File from Visual SourceSafe Explorer =

Article ID: 234830

Article Last Modified on 5/3/2001

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q234830



SYMPTOMS
In Visual SourceSafe Explorer, if you try to check in a Microsoft Office object, you may receive the following error message:

"File not found."



CAUSE
The object was previously checked out in the Visual Basic Editor with the Source Code Control add-in. The VBA Source Code Control add-in does not create a local file for each object in a source code control project. Objects are managed as part of their container document, workbook, or presentation.



RESOLUTION
Check all objects in and out of source code control with the VBA Source Code Control add-in in the Visual Basic Editor. Avoid checking these objects in with Visual SourceSafe Explorer.



Steps to Reproduce the Behavior
 Create and save a new workbook in Microsoft Excel 2000. Open the Visual Basic Editor (press ALT+F11). Use the VBA Source Code Control add-in to add the workbook and the sheets it contains to source code control. To do so, on the Add-ins menu, point to VBA Source Code Control, and then click Add Project to SourceSafe. Use the VBA Source Code Control add-in to check out Sheet1 (right-click Sheet1, and then click Check Out). Start Visual SourceSafe Explorer. On the Add-ins menu, point to VBA Source Code Control, and then click Run SourceSafe. Try to check in Sheet1 by using the Visual SourceSafe Explorer ( right-click Sheet1, and then click Check In). Note that you received the following error message:

File " \Sheet1.cls" not found

</li></ol>

Additional query words: pra prb

Keywords: kbprb kbpending KB234830

-

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

© Microsoft Corporation. All rights reserved.