Qbasic and Windows XP

L

Longfellow

We (no 1 Son) and I are having a problem with Qbasic.
Windows XP ... SP2 ...
Qbasic version 4.5
Programs that do not contain the 'SCREEN' instruction,
run OK, and the output can be printed out via 'PrtScn'
and pasting the clipboard into ... say 'Word'.

If the program contains the 'SCREEN' instruction
to enable fine positioning of graphics,
we are unable to get a printout by any means.
The problem is confined (we think) to Windows XP.
We are able to get printouts if using Windows 98/Me/2000

Can anyone help us.
We have a specimen program, if you think you can help.
Have used different printers, different programs to paste
into.
 
S

Star Fleet Admiral Q

There's really not much you can do, except rewrite the program in a Windows
XP friendly programming language - one of the dotNet varieties.

It all started with WinNT, MS in order to make the OS more stable, began
removing the ability for a program to directly manipulate hardware, as time
went on Win2k began less tolerable to direct hardware manipulations, and now
with WinXP/2k3, there is almost (none that I'm aware) hardware manipulations
allowed by an application.

The new approach for graphics type manipulation would be to use a DirectX or
3D Windows API (in one of the dotNet languages) - in other words, your
application makes its request to Windows and Windows actually tells the
hardware what to do.

--

Star Fleet Admiral Q @ your Service!

http://www.google.com
Google is your "Friend"
 
S

Si Ballenger

We (no 1 Son) and I are having a problem with Qbasic.
Windows XP ... SP2 ...
Qbasic version 4.5
Programs that do not contain the 'SCREEN' instruction,
run OK, and the output can be printed out via 'PrtScn'
and pasting the clipboard into ... say 'Word'.

If the program contains the 'SCREEN' instruction
to enable fine positioning of graphics,
we are unable to get a printout by any means.
The problem is confined (we think) to Windows XP.
We are able to get printouts if using Windows 98/Me/2000

Can anyone help us.
We have a specimen program, if you think you can help.
Have used different printers, different programs to paste
into.

XP doesn't support some functions in q/quick basic, such as
opening the com port as a file. You may want to try the free
justbasic program as it is more XP friendly.
 
L

Longfellow

Longfellow said:
We (no 1 Son) and I are having a problem with Qbasic.
Windows XP ... SP2 ...
Qbasic version 4.5
Programs that do not contain the 'SCREEN' instruction,
run OK, and the output can be printed out via 'PrtScn'
and pasting the clipboard into ... say 'Word'.

If the program contains the 'SCREEN' instruction
to enable fine positioning of graphics,
we are unable to get a printout by any means.
The problem is confined (we think) to Windows XP.
We are able to get printouts if using Windows 98/Me/2000

Can anyone help us.
We have a specimen program, if you think you can help.
Have used different printers, different programs to paste
into.
Well I have tried just about every way that I can think of, so
I've taken lots of advice and bought "BBC Basic" from
www.rtrussell.co.uk
With some help from him, I have managed to convert all
my QBasic programs to BBC Basic, and can use the
Alt PrtScn keyboard buttons to copy the screen output
to the clipboard and then by pasting to the printer.
Thanks for your contributions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top