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

I'm just curious

Status
Not open for further replies.

qbasicking

Programmer
Aug 19, 2001
628
US
I am probably not going to try this, but is it possible to make a windows program in qbasic?
 
Short answer... no. Long answer... it depends on what you mean by "a Windows program." You really need to use the API to get the looks, feel and functionality that's already built into Windows. You could try to rewrite the Microsoft cores using Qbasic, and you might end up with a GUI that looks a little Windowish, but that would be trying to build a space shuttle with duct tape, super glue and a pile of rusty parts from '63 Chevy.

I'm certainly not putting down Qbasic or trying to throw it on some dusty shelf. Quick basic will always be able to do certain things in a way that can't be approached by VB or even VC++. Need an example? Ask a Visual programmer to write a program to change the serial number on a floppy disk.
VCA.gif
 
No, probably no. May be u can do something like this... Make a text editor thru qb Which recognises all VB6.0 commands. Then save the code. And let VB compile it for u! And there, u can make a Windows Applications!
 
Loved the thing about building the shuttle Alt.

You're right though, qba you're probably better off looking for a version of VB, Delphi or one of the other Windows languages.

If you haven't already got a copy you can get some versions pretty cheaply. You don't really need the latest or enterprise versions though.

In the UK, they've even given away complete packages with some magazine cover CDs or DVDs (Borland and other producers, not Microsoft products though, as they rarely give stuff away). American magazines don't often include these CDs, even though the British editions will.

Ray



 
You cannot write a "Windows" application in QB. However, if all you want is the GUI and no extended Windows features, you can use a collection of routines I have developed to create GUI's to die for. I've got full SVGA support (up to 1280x1024x24), mouse support, click routines, Multiple Window Z-Ordering, All with the look and feal of Mac OS 8.0.

If you want it, I can post the URL where they can be downloaded.
 
I'd like to take a look. Love good tools.

And (blush) I'm kind of interested in how you handle the Z-Order.


VCA.gif
 
I forgot to respond to that: You use Z-Ordering? Isn't that kind of slow?
And just out of curiosity, does your SVGA use CALL INTERRUPT?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top