Knowledge Base

PRB: Visual SourceSafe Occasionally Saves .FRX File as Text

Article ID: 155054

Article Last Modified on 10/20/2003


APPLIES TO


This article was previously published under Q155054
*********************************************************************
**                           - WARNING -                           **
**     THE INFORMATION BELOW IS PRELIMINARY AND HAS NOT BEEN       **
**     CONFIRMED, EDITED, OR TESTED BY MICROSOFT. USE ONLY         **
**     WITH DISCRETION.                                            **
*********************************************************************
		

SYMPTOMS

Visual SourceSafe will sometimes save a Visual Basic form's binary file (.FRX) as text rather than binary, depending on the objects placed on the Visual Basic form.

If this "text" version of the .FRX file is checked out, and the program is run or the form is modified, an "Illegal Operation" error will result in either OLE32.DLL, SSSCC.DLL or KERNEL32.DLL.

NOTE: This problem is not reproducible in Visual Basic 4.0a/Visual SourceSafe 4.0a.

RESOLUTION

To force a particular file type to be treated as binary, the following line should be added to the SRCSAFE.INI file on the server:
   Binary_Masks = *.frx
				
This .INI information can be added by using the "File Types" tab found by choosing Options from the Tools menu.

STATUS

WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

132892 SourceSafe May Modify Some Files

Keywords: kbprb KB155054