BUG: Errors Checking In or Out a Custom Resource File (.RES)

Last reviewed: January 9, 1998
Article ID: Q156872
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows 4.0, 5.0
  • Microsoft Visual Basic Enterprise Edition, 16-bit and 32-bit, for Windows 4.0
  • Microsoft Visual SourceSafe, 32-bit, for Windows 4.0a, 5.0

SYMPTOMS

If your Visual Basic project uses a Resource (.RES) file and is under Source Code Control with Visual SourceSafe, you may receive the following error message when checking in just the .RES file:

   Can't load file <path>\<filename>.RES in the Visual Basic project.
   Ensure the Visual Basic project file is checked out.

CAUSE

Visual Basic fails to reload the file when Visual SourceSafe calls the reload method on the project template item for .RES file.

WORKAROUND

If the .VBP file is checked out when the .RES file is being checked in, the error message can be ignored.

STATUS

Microsoft has confirmed this to be a problem in Visual Basic version 4.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open a Visual Basic project that contains a custom Resource File (.RES).

  2. Add the project to Source Code Control.

  3. Check out the entire project (including the .VBP).

  4. Check in just the .RES file. The following error message will display:

    Can't load file <path>\<filename>.RES in the Visual Basic project. Ensure the Visual Basic project file is checked out.

  5. Click OK. The .RES file is checked in and everything else is still checked out.

  6. Check out just the .RES file. The above error message will display again.

  7. Click OK. The .RES file is checked out and everything else is still checked out.


Additional query words: 4.00 5.00 VB
Keywords : ssvb vbwin
Version : Win3.x:4.0,4.0a,5.0
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.