If pressing the print screen key is the only way to grab the image. Then, use it. In your program add a timer. In the timer check the clipboard for an image. If there's an image then transfer it to a picturebox,clear the clipboard and then analyze it.
Something like:
VB Code:
Private Sub Timer1_Timer() If Clipboard.GetFormat(vbCFBitmap) Then Picture1.Picture = Clipboard.GetData(vbCFBitmap) Clipboard.Clear 'analyze picture End If End Sub




Reply With Quote