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 Rhinorhino 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 DOS and Visual Foxpro 6.0

Status
Not open for further replies.

blazblaz

Technical User
Joined
Feb 3, 2002
Messages
71
Location
CA
I just recently found this forum on web site, and enjoy it. Can somebody help me. I've programmed some applications for many years in Foxpro/Lan 2.0 Dos, and it's running well under DOS. Is it possible to run the same one under Visual Foxpro 6.0? (Eventually to make exe version with a professional VPF6?) I've tried to run it, and it looks very weird. Just used DO command under VFP6, and tried to run same program as I am running under DOS. The frames I designed just with ASCII codes look different, not proportional with letters, colors are different. , takes just quarter of the screen. Is it Any suggestions?

Also, I tried to run Foxpro/Lan 2.0 Dos extended version (Foxprolx) under Windows 98, and always got message "Incompatible memory manager" , I can't run it. (I am using HIMEM.SYS from 04-23-99 in Config.sys file) Why ? How should I set-up the config.sys file?
 
While many programs written for earlier versions of FoxPro will run unmodified, they will indeed look ugly. There is a lot of differences both apparent and not so apparent with VFP. Most of which is the new thought process that goes with designing object oriented applications as opposed to the procedural or sequential based apps from prior versions. The screens you are seeing with VFP are a result of the interpretation of the fonts by the OS. things are not going to be lined up as nice using the windows based GUI instead of the DOS based UI. This is only the beginning. There are several good threads in this forum as well as the 'VFP 3.0 and higher' forum dealing with redevelopement/upgrading legacy apps.

For the second part of your thread, do a search in this forum for 'memory' and you may be able to find some answers. I am not sure about that issue.

Dave S.
 
Blazblaz,
Dave touches on Font alignment. One thing you might try is setting the font to a mono-space font early in your application. Characters may not look the same, but they should at least "Line-up" as they did in your DOS app. Off the top of my head, I don't remember the Font settings in DOS code, but take a look in your Fox2.x help file for setting fonts.
If you find nothing in Fox 2.x help, try looking in the VFP help for something like Default Font. Setting this will get you running quickly, though you may encounter other troubles.

Thanks,
-Scott

s-) Please let me know if this has helped s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top