Please support our Legacy and Other Languages advertiser: Programming Forums
![]() |
•
•
Join Date: Aug 2003
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I have the following problem:
2 years ago I did a Qbasic program which calculated a graphic, show this graphic on the screen and then the graphic is sended to Printer.
The statement I used was << SHELL "prtscr.exe" >> where ptrscr.exe y a program which capture the screen and send the data screen to the Printer. Now, under Windows XP the program does not work and I donīt know why? I was thinking about updating the DOS command Graphics Graphic but I donīt know if it is in Windows XP.
Another thing I would like to know is how can I decompile the Turbo Pascal "printscr.exe" program in order to implement it in qbasic.
Thank you
2 years ago I did a Qbasic program which calculated a graphic, show this graphic on the screen and then the graphic is sended to Printer.
The statement I used was << SHELL "prtscr.exe" >> where ptrscr.exe y a program which capture the screen and send the data screen to the Printer. Now, under Windows XP the program does not work and I donīt know why? I was thinking about updating the DOS command Graphics Graphic but I donīt know if it is in Windows XP.
Another thing I would like to know is how can I decompile the Turbo Pascal "printscr.exe" program in order to implement it in qbasic.
Thank you
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,115
Reputation:
Rep Power: 33
Solved Threads: 117
There was another post located here http://www.daniweb.com/forums/thread636.html regarding the same question. It turns out that QBASIC is a 16-bit language, just like Windows 3.1 was. Windows 95 and above were 32-bit with 16-bit support. Starting with Windows XP, however, Microsoft has decided to strip the 16-bit support. Therefore, your Qbasic programs unfortunately won't be able to run in WindowsXP. The only option, unfortunately, is to perhaps migrate over to Visual Basic 6 or Visual Basic.NET
Dani the Computer Science Gal
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,749
Reputation:
Rep Power: 19
Solved Threads: 200
•
•
Join Date: Feb 2005
Posts: 15
Reputation:
Rep Power: 4
Solved Threads: 0
THERE!!! Under recent study one member on this site suggested using DOSBox. I've combined both DOSBox-0.63 and QBasic 4.5 together to create QBasicXP. It works PERFECTLY! I have only one problem with it. The help file that tells u the codes is not working but as long as u know the codes or if u can get a tutorial from somewhere else you will be fine. Here is the link
QBasicXP
QBasicXP
•
•
Join Date: Feb 2005
Posts: 22
Reputation:
Rep Power: 4
Solved Threads: 0
•
•
•
•
Originally Posted by joseprados
I have the following problem:
2 years ago I did a Qbasic program which calculated a graphic, show this graphic on the screen and then the graphic is sended to Printer.
The statement I used was << SHELL "prtscr.exe" >> where ptrscr.exe y a program which capture the screen and send the data screen to the Printer. Now, under Windows XP the program does not work and I don?t know why? I was thinking about updating the DOS command Graphics Graphic but I don?t know if it is in Windows XP.
Another thing I would like to know is how can I decompile the Turbo Pascal "printscr.exe" program in order to implement it in qbasic.
Thank you
See my new thread "How to run Qbasic and Dos under windows XP
![]() |
Similar Threads
Other Threads in the Legacy and Other Languages Forum
- QBasic, what can i do to make my programs run without the QBasic program? (Legacy and Other Languages)
- QBASIC under Windows XP (Visual Basic 4 / 5 / 6)
- Getting an Older Program to Run on Windows XP (Windows tips 'n' tweaks)
Other Threads in the Legacy and Other Languages Forum
- Previous Thread: Program to automatically convert from C++ to matlab?
- Next Thread: Programming FAQ v2.0.1!
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode