Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro 2.0 - 2.6 Programs -> Visual FoxPro 6.0

Status
Not open for further replies.

NotrutYug

Programmer
Sep 26, 2002
2
CA
Hi!!!

Will a FoxPro 2.0-2.6 program work when compiled in Visual FoxPro 6.0 and will it work on a XP Platform???

If it doesn't, what changes need to be made to make it work???

 
NotrutYug

Will a FoxPro 2.0-2.6 program work when compiled in Visual FoxPro 6.0 and will it work on a XP Platform???

I would be very surprised if it would work on any version of windows, since FPW needs it's own runtime files to work, I can't see that all of a sudden "it would agree to use VFP6.0's runtime".
But why don't you use the apllication as is, FPW work's on XP. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
Nearly everything that you do in Fox 2.6 IS supported in VFP6, and VFP6 runs fine on WinXP (so I hear.. I don't run WinXP).

So very little should have to change to make your program recompile and run in VPF6. Give it a try... see how it does. Some things (like window layouts with @Say/@GET and menu popups that are not part of the main menu) aren't pretty without tweaking, and might not work easily because they don't translate well to the "Windows" way of doing things. But it should work fine.

However, to truly take advantage of the improvements in Visual Foxpro requires a complete reworking of a Fox 2.6 program.

 
FoxPro DOS program code when run under VFP, will look "funny" due to the Windows default fonts. While you can run .PRG, .SPR and .MPR files in VFP, .SCX's, .MNX's, .FRX's, and .LBX's will need to be converted before they can be "compiled". The success of this conversion will depend a great deal on what features were used and how old it is (2.6 has a much better chance than 2.0 files). Also if the DOS apps used any .BIN, or .PLB files these will need equivalent functions and if they used low-level IO to access hardware features, these probably won't work.

Plan on spending a lot of time to get it right - one reason most everyone suggests a re-write, especiially if you've got the time and "money".

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top