|
-
May 17th, 2000, 03:47 PM
#1
Thread Starter
Addicted Member
Hi all,
I working on a program that makes a printscreen every minute
and save's the image to disk.
I'm using this right now but i can't get it to work
Private Sub Timer1_Timer()
'vbKeyPrint &H2A PRINT SCREEN key
SendKeys &H2A
Form1.Picture = Clipboard.GetData(vbCFDIB)
SavePicture Image, "TEST.BMP" ' Save picture to file.
End Sub
Does anyone know what I'm doing wrong
Thanx ASTERIX
Remember Programmers don't sleep 
-
May 17th, 2000, 05:04 PM
#2
Hyperactive Member
I learnt it couples of days before from this forum. You can try to search for 'capture screen' and there is a lot of message which works, telling you how to capture screen, form and active window and then put it into a picture box.
Printkey cannot be sent using the sendkey command, which I tried to do so before.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|