Capturing background screen in to a PictureBox


'Capturing background screen in to a PictureBox

'Code By Kiran Reddy
'Keep Commad Button called Command1 on your form
'Keep Timer control called Timer1 and set inerwel to 60 and enabled = False

'Command Button Click event
Private Sub Command1_Click()

Form1.WindowState = 1
Timer1.Enabled = True
End Sub

'Timer1.Timer event
Set Picture1.Picture = CaptureScreen()
Timer1.Enabled = False
Form1.WindowState = 0
Form1.SetFocus


You can view this article online at:
http://www.kiranreddys.com/knowledgebase/index.php/article/capturing-background-screen-in-to-a-picturebox