Microsoft KB Archive/141058

= PRB: Visual Basic .FRX File Not Added to SourceSafe =

Article ID: 141058

Article Last Modified on 11/24/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Standard Edition

-



This article was previously published under Q141058



SYMPTOMS
If a form with both an .frm and an .frx file exists in Visual Basic and in SourceSafe and the form is deleted from the Visual Basic project, adding a new form with the same name as the deleted form will omit adding the .frx file to the SourceSafe project.



RESOLUTION
In Steps to Reproduce Problem in the MORE INFORMATION section below, do the following between steps 3 and 4:


 * 1) Run SourceSafe.
 * 2) Select the SourceSafe project that stores the Visual Basic project.
 * 3) From the File menu, choose Properties.
 * 4) From the Deleted Items tab, purge the .frx and .frm that were deleted.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Problem
 Create a form that has both an .frm and .frx file (binary) in Visual Basic by adding a control (such as a picturebox, grid, or other control) that contains binary information to a form. Then put the files in SourceSafe. Check out the Project (.vbp file) from SourceSafe. In Visual Basic, delete the form. Note that both the .frm and .frx files are deleted in SourceSafe. In Visual Basic, create a new form that has the same name as the deleted form, which will require an .frx file (as described in Step 1.) Save the new form, and when prompted, add the form to SourceSafe. Answer No to the following prompt:

A deleted file with this name already exists. Recover the existing file?

</li> The .frm file is added to SourceSafe, but the .frx is not.</li></ol>

Keywords: kbbug kbfix kbprb KB141058

-

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

© Microsoft Corporation. All rights reserved.