BUG: Moving .VBP File Can Corrupt References with Long PathsLast reviewed: October 16, 1997Article ID: Q173093 |
The information in this article applies to:
SYMPTOMSWhen moving a Visual Basic 5.0 project from one folder to another, you may see corruption to references that include a path longer than approximately 40 characters (such as DAO 3.5) in the project's .vbp file. On the same drive, this problem can occur when one of the folders is at least one level lower in the directory tree structure than the other. This problem does not occur when saving the project to a different folder within the IDE. This corruption may also occur when checking a VBP file out of Visual Source Safe, if the file was previously saved and then checked in from a different machine, even if the directory structure used to store the project on the other machine is identical to that used on your machine.
RESOLUTIONAvoid moving .vbp files, or save them through the IDE to their new location using File | Save As. Attempting to edit and correct the corrupt .vbp file in Notepad does not work because the file becomes corrupt again the next time it is saved.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONCorruption of the .vbp file may occur when the project is moved to a different directory.
Steps to Reproduce Behavior
Examples of sections from good and bad .vbp filesDAO 3.5 reference from a good file: Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#..\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL#Microsoft DAO 3.5 Object Library DAO 3.5 reference from a bad file: Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#..\..\..\Program Files\Common Files\Microsoft Shared\DC:\Program Fi#Microsoft DAO 3.5 Object Library Keywords : vb5all Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |