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

SendKeys Print Scrn

Status
Not open for further replies.

thegameoflife

Programmer
Dec 5, 2001
206
US
I looked in the help file and it says you can't use sendkeys to capture Print Scrn.

Is there any way around this?

 
I got it

Code:
Private Declare Sub keybd_event Lib "user32.dll" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)


Call keybd_event(vbKeySnapshot, 0, 0, 0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top