Converting from Other Versions of FoxPro

See Also

If you have files from other versions of FoxPro that you want to use in this version of Visual FoxPro, you have several choices. You can run many files from some previous versions of FoxPro directly; other require varying levels of conversion.

Converting from Visual FoxPro 3.0 for Windows

If you have Windows versions of Visual FoxPro 3.0 projects or files, you must convert or recompile them. Visual FoxPro 3.0 .scx and .vcx files are automatically recompiled when you open them in Visual FoxPro version 5.0 or later.

File Type Treatment
.pjx Convert*
.scx Recompile**
.vcx Recompile**
.prg, .mpr, .qpr, or .frx Recompile
.dbf or .dbc Use as is, unless modifying

* Structure change enables source code control.
** Choose FontSize, FontBold, and ColorSource property defaults.

For more information, see Running Visual FoxPro 3.0 Files and Converting Visual FoxPro 3.0 Files.

Converting from Visual FoxPro 3.0 for the Macintosh

If you have Macintosh versions of Visual FoxPro 3.0 projects or files, you must copy the files to Windows, and then convert or recompile them.

File Type Treatment
.pjx Convert**
.scx Recompile***
.vcx Recompile*
.prg, .mpr, .qpr, or .frx Recompile
.dbf or .dbc Use as is unless modifying

* Table structure differs from earlier versions: General and Memo fields are 4 bytes instead of 10 bytes wide.
** Structure change enables source code control.
*** Choose FontSize, FontBold, and ColorSource property defaults.

For more information, see Running Visual FoxPro 3.0 for the Macintosh Files or Converting FoxPro for the Macintosh Files.

Converting from FoxPro 2.6

If you have FoxPro 2.6 projects or files that you want to use in Visual FoxPro, you have several choices. You can run many files from previous versions of FoxPro directly in Visual FoxPro or you can choose to convert your files to the new format, as necessary. Or, you can re-examine your files and applications, and apply Visual FoxPro object-oriented design principles to them.

File Type Treatment
.pjx Convert
.scx Convert
.prg, .mpr, .qpr, or .frx Run or convert
.dbf Use as is, unless modifying*

* Table structure differs from earlier versions: General and Memo fields are 4 bytes instead of 10 bytes wide

For more information, see the following topics.

To See
Run files Running FoxPro 2.6 Files
Convert files Converting FoxPro 2.6 Files
Check converted files Checking Converted FoxPro 2.6 Projects
Redesign files Redesigning Converted FoxPro 2.6 Files