hi everybody
I want to view the print scrn image in my picture box So i need to get the image from the clipboard
this is what I did until now
VB Code:
Dim clipdata As IDataObject Dim myimg As Image Windows.Forms.SendKeys.SendWait("{PRTSC}") clipdata = Clipboard.GetDataObject() If clipdata.GetDataPresent(GetType(System.Drawing.Bitmap)) Then myimg = CType(clipdata.GetData(GetType(System.Drawing.Bitmap)), Image) End If
this code doesn't work
thx for future help





Reply With Quote