# Using FoxPro 2.0 Screens in FoxPro for Windows

ID: Q104794

The information in this article applies to:

- Microsoft FoxPro for Windows, versions 2.5 and 2.5a

To modify FoxPro 2.0 for MS-DOS screens in FoxPro 2.5 or 2.5a for Windows, you must transport the screens from 2.0 to 2.5 format. However, the 2.0 .SPR code can be run without any modification in FoxPro 2.5 for Windows.

You have three options for bringing in 2.0 screens to 2.5 for Windows:

- Run the 2.0 .SPR directly in 2.5. This will execute an MS-DOS-compatible screen that has dimensions similar to those in 2.0. FoxPro for Windows will use FoxFont, 9-point size, by default. Since the coordinates are coded into the .SPR, windows and objects will probably appear toward the upper-left corner of the desktop, but should not be off the edge of the 2.5 desktop. If the .SPR file has a window that is marked Center, it should calculate the center of the current monitor display using SROWS() and SCOLS().
- Transport the 2.0 screens. This will create a much more "Windows- like" screen. Before choosing the Transport & Open button in the Transport dialog box, you may want to select a nonproportional font such as FoxFont, FoxPrint, or Courier for your GET objects. By default, the Transporter uses a proportional font for the GET objects, which may cause the contents of the GET objects to be cut off after transportation because of the predetermined object size of an MS-DOS-style screen.
- Modify the transported 2.0 screens before program generation. This will allow the 2.0 screens to be customized to take advantage of FoxPro for Windows features.

NOTE: Back up all files prior to transportation to FoxPro 2.5 for Windows.

Additional reference words: FoxWin 2.50 2.50a 2.00 convert transfer import export KBCategory: kbprg KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.