Calling Print Screen
Moderators:Administrator, Global Moderator
Is there a way to call "Print Screen" from within a Qb 4.5 program running under Win 98? I am using a Screen Capture program that only allows me to use the Print Screen key while QB is runs.
Yes.
Here's a copy of the header I've placed in one of my very old programs . . .
GRAPHICS.PRO ANDGRAPHICS.COM
accessable (and preferrably RUNNING) when you are going to use your program to PRINTSCREEN.
--MiggyD
So, you'll need to have both:' PrntScrn.Bas
'
'Notes: To print graphics you must use GRAPHICS.COM loaded in AutoExec.bat
' don't forget to turn on SetVer.exe (cause the one that is currently
' on this hard drive is expecting DOS V 6.22).
'
' Reminder of syntax for GRAPHICS.COM is: "GRAPHICS.COM {printer name}"
' Where PRINTER NAME is any one of the few printers listed in
' GRAPHICS.PRO (I'm test printing with: "GRAPHICS.COM HPDefault" and
' it works alright but in landscape mode)
'
' Speaking of modes, the following code is for SCREEN 0, 1, & 2 (I've
' tested in SCREEN 12 and it comes out in portriat mode but you'll lose
' some of the screen info.
'
TYPE RegType
AX AS INTEGER
GRAPHICS.PRO ANDGRAPHICS.COM
accessable (and preferrably RUNNING) when you are going to use your program to PRINTSCREEN.
--MiggyD