Google Answers Logo
View Question
 
Q: Converting a DOS program (Foxpro2) to Windows ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: Converting a DOS program (Foxpro2) to Windows
Category: Computers > Programming
Asked by: probonopublico-ga
List Price: $10.00
Posted: 23 Jun 2003 10:26 PDT
Expires: 23 Jul 2003 10:26 PDT
Question ID: 220773
Is there an easy way?

Request for Question Clarification by hammer-ga on 23 Jun 2003 11:00 PDT
Depends. Do you only want the data, or do you also want the forms,
programming, etc? Which Windows program to you want to switch to?

- Hammer

Clarification of Question by probonopublico-ga on 23 Jun 2003 21:41 PDT
Hi, Folks

The data is easy ... as is running it as a DOS program on (say) WIN95.

It was the program itself that I wanted to convert to Windows ... the
Screens, the Reports, the Programs, etc.

I also want to output the reports to a Windows printer ... but not
just that!


Thanks

Bryan

Request for Question Clarification by sublime1-ga on 23 Jun 2003 22:18 PDT
PBP...

I'm wondering if poe-ga's suggestion wouldn't result in 
this anyway, but would it satisfy you to run the program
in a DOS window in Windows 95? You can accomplish this 
by creating a .pif file for the program in Windows 95.

Perhaps this is what you're talking about when you say:
"running it as a DOS program on (say) WIN95....is easy".
I wasn't sure if you meant running it in DOS *under*
Windows 95 (without Windows being started), or if you
meant running it in a DOS window with Windows started.

If you mean actually creating a Windows executable that
runs in Windows as a Windows program, that's a major
programming task, to my knowledge, requiring much more
than I can begin to comprehend.

Clarification of Question by probonopublico-ga on 24 Jun 2003 04:11 PDT
Hi, Sublime One

The program runs fine under DOS in a Windows' Window.

Now, I would like a Windows version but, from what you say, there's no
conversion utility that will do the hard work for me.

The fact is that I like Foxpro and (from what I've seen) I hate
Access.

So maybe I should rephrase the question to ask 'What's the easiest way
for a guy who knows FoxPro to do a rewrite?' ...

Maybe FoxPro for Windows?
 
Rgds

Bryan

Request for Question Clarification by hammer-ga on 24 Jun 2003 05:05 PDT
Hey PB!

I'm not a FoxPro expert, but from what I can tell, a rewrite is the
way to go. Visual FoxPro (VFP) does have some conversion capabilities
from the DOS version, but the newsgroupies don't seem to think much of
them. If you feel like spending $250, I've seen several people
recommending a conversion manual from Micro Endeavors.

Micro Endeavors
Self Study Courseware
http://www.microendeavors.com/courseware/default.asp

VF610: FoxPro 2.x to Visual FoxPro Migration Manual
This course demonstrates how to migrate an existing FoxPro 2.x DOS or
Windows application to the power of Visual FoxPro 6.0. Using Micro
Endeavor’s unique incremental migration methodology, this course
illustrates the most efficient combination of your current FoxPro 2.x
code with the new features of Visual FoxPro 6.0.

Format: Manual/Disk 
Price: $249.00 


This is very often the case when changing products or platforms. It's
relatively easy to move the data around. The programming, automation,
forms, etc. is usually a whole 'nother kettle of monkeys! You rarely
get away without having to rewrite a whole lot of application
elements.

- Hammer

Clarification of Question by probonopublico-ga on 24 Jun 2003 09:12 PDT
Hi, Hammer

You have confirmed my worst fears!

I guess I might do better re-writing in FoxPro for Windows.

Many thanks ... Post that as your answer, please!

Rgds

PB
Answer  
Subject: Re: Converting a DOS program (Foxpro2) to Windows
Answered By: hammer-ga on 24 Jun 2003 09:24 PDT
Rated:5 out of 5 stars
 
Hi PBP!

I'm posting the RFC as my answer per your instructions. I was hoping a
FoxPro expert would pop up with a miracle for you, but, I guess not...
:(

------------------------------

I'm not a FoxPro expert, but from what I can tell, a rewrite is the
way to go. Visual FoxPro (VFP) does have some conversion capabilities
from the DOS version, but the newsgroupies don't seem to think much of
them. If you feel like spending $250, I've seen several people
recommending a conversion manual from Micro Endeavors.
 
Micro Endeavors 
Self Study Courseware 
http://www.microendeavors.com/courseware/default.asp  VF610: FoxPro
2.x to Visual FoxPro Migration Manual
This course demonstrates how to migrate an existing FoxPro 2.x DOS or
Windows application to the power of Visual FoxPro 6.0. Using Micro
Endeavor’s unique incremental migration methodology, this course
illustrates the most efficient combination of your current FoxPro 2.x
code with the new features of Visual FoxPro 6.0.
 
Format: Manual/Disk  
Price: $249.00  
 
 
This is very often the case when changing products or platforms. It's
relatively easy to move the data around. The programming, automation,
forms, etc. is usually a whole 'nother kettle of monkeys! You rarely
get away without having to rewrite a whole lot of application
elements.
 
- Hammer

Clarification of Answer by hammer-ga on 24 Jun 2003 11:40 PDT
Probonopublico wrote:
[Oh, by the way, can you lend me $249?]

Gee, Bryan, I'd love to, but you know our Terms of Service forbid us
from making outside contact, even in exceptional circumstances such as
loan sharking and usury. Otherwise, I'd loan you the money in a
heartbeat. ;>

- Hammer
probonopublico-ga rated this answer:5 out of 5 stars
Hi, Hammer

That'll do fine.

Thanks again!

Oh, by the way, can you lend me $249?

Rgds

Bryan

Comments  
Subject: Re: Converting a DOS program (Foxpro2) to Windows
From: poe-ga on 23 Jun 2003 12:08 PDT
 
I'm not sure if this is appropriate, but there is a relevant feature
available in recent versions of Windows (built-in in Windows XP and
available on the CD for Windows 2000) that enables backward
compatibility.

If you are using Windows XP, try the following:

- Right click on the FoxPro 2 program.

- Select Properties.

- Choose the Compatibility tab.

- Choose to run in Windows 95 mode.

There are of course other options here too.

Best of luck.

Poe

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy