The PC Guide Discussion Forums  
Google
Web The PC Guide
Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.

Go Back   The PC Guide Discussion Forums > Special Interest Forums (SIFs) > Programming SIF
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread
  #1  
Old 03-14-2001, 04:03 PM
confused confused is offline
Novitiate Geek
 
Join Date: Feb 2001
Posts: 6
Cool qbasic programming question

How can you have a qbasic program send you back to windows after it has ran. I have a couple of qbasic files I run from windows (.bat files) and when they are done they leave me in the qbasic file in dos. I'd like for them to take me back where I started on the desktop in windows.
Thanks for any help.
Reply With Quote
  #2  
Old 03-14-2001, 04:44 PM
Reid's Avatar
Reid Reid is offline
Been around a while
 
Join Date: Nov 2000
Location: CA, USA
Posts: 1,394
Post

I don't know if there is a way to exit directly from QBasic, but if you have a compiler, a QBasic program could be converted to an exe file, then right-click the exe file in Explorer, or the shortcut, select Properties, Program, and click the Close on exit box.

This QB link has some compilers available for download. I haven't tried them since I use QuickBASIC 4, which has a built-in compiler.


------------------
reido@my-deja.com

Friends don't let friends install Windows ME
Reply With Quote
  #3  
Old 03-16-2001, 11:17 PM
confused confused is offline
Novitiate Geek
 
Join Date: Feb 2001
Posts: 6
Post

Thanks Reid
I'll try that I've downloaded the compiler and will change them over.


Quote:
Reply With Quote
  #4  
Old 03-17-2001, 12:15 AM
Reid's Avatar
Reid Reid is offline
Been around a while
 
Join Date: Nov 2000
Location: CA, USA
Posts: 1,394
Post

There are additional resources at Planet QBasic, if you need them.

------------------
reido@my-deja.com

Friends don't let friends install Windows ME
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:03 PM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.