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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GWBASIC compile into something I can use in 2000/XP

Status
Not open for further replies.
Aug 12, 2004
949
US
Hi!,

I have a bit of a problem here. I am looking into a few options. First of all, I have a program that was written in GWBASIC and it runs great on a DOS machine. It will even run in Windows 2000 under QBasic if you run it from there, but the .exe will not run under 2000 or XP.

I would like to solve this in a 2 steps. 1st, I would like to get the current program to compile so I can run it in 2000/XP. The program does quite a bit of interesting things such as screen calls and drawing graphics, it's quite a program in it's day. How do I compile this program into something that I can run in the 2000/XP environment?

If I can get this to work, this will just solve the initial problem. Eventually I need to rewrite it in like VB.NET. Does VB.NET have the capability of doing the kids of graphics that this current BASIC program can do such as drawing objects and then based on numbers for that object, change the drawing on the fly...

Thanks for the information. I am most interested in getting this program to run in the 2000/XP environment 1st then worry about the 2nd part later. This would buy us some time.
 
I really wonder why EXE won't run in XP?
Have you tried to experiment with compatibility options ("run as under Win95" etc) for that EXE?
Because I see no reason as to why it works from QB and doesn't work compiled.

about second part of your questtion - "oes VB.NET have the capability of doing the kids of graphics that this current BASIC program can do such as drawing objects and then based on numbers for that object, change the drawing on the fly..."
I'm not quite sertain what you mean, but any programming language that can draw can do such things. But commands will differ, so you have to re-write that part (and you will need understanding of both how old part worked and how you can do the same on new language).

That was my 2 cents.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top