ID: Q187725
The information in this article applies to:
An error appears when you open a FoxPro 2.6 screen (.scx file) in Visual FoxPro and select the check box to Convert both Macintosh and Windows form records in the Visual FoxPro Converter dialog box. Changing the type of conversion performed (functional or visual) does not prevent the error.
Do not select the Convert both Macintosh and Windows form records check box. Only convert the Windows form records.
If desired, once the form is converted, it can be taken back to Visual FoxPro for Macintosh and opened by first issuing the COMPILE FORM <form name> command. Then you can open the form. This also applies if trying to open the form in Visual FoxPro for Windows 3.x if you have first converted the form in a later version of Visual FoxPro.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Below is the complete text of the error message received:
C:\SCREENS\TEST.SCX: Begin Conversion 06/10/98 04:10:15 PM
C:\SCREENS\TEST.SCX: End Conversion: 06/10/98 04:10:17 PM (Successful
conversion took 2 seconds.)
C:\SCREENS\TEST.SCX (MACINTOSH VERSION): Begin Conversion 06/10/98
04:10:17 PM
Fatal Error in Converter:
Error: Variable 'ENVIRON' is not found.
Error Number: 12
Method: converter
Offending Code: IF ...
File being processed: c:\screens\test.scx
1. Create or obtain a FoxPro 2.6 screen that has both Macintosh and Windows
form records. Creating a screen in FoxPro 2.6 that has both Macintosh
and Windows form records is beyond the scope of this article.
2. Open the form in Visual FoxPro 5.0 or later.
3. In the Visual FoxPro Converter dialog box, select the check box to
Convert both Macintosh and Windows form records. At some point in the
conversion process, the error appears.
For additional information, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q162076
TITLE : HOWTO: Converting VFP Files from Version 3.0 to 5.0 and Back
ARTICLE-ID: Q155851
TITLE : Implementing Cross Platform Solution 3.0 Mac/5.0 Win
Additional query words: kbDSupport kbDSE kbVFp500bug kbVFp500abug
kbXPlatform
Version : WINDOWS:5.0,5.0a
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbnofix
Last Reviewed: June 16, 1998