In my VB program I have a WindowsMediaPlayer1 object and an Image1 control and a button that executes the following command:-
Private Sub Scan_Click()
Image1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub
So basically what I want to do is press the <b>Print Scrn</b> button and then press the scan push button on my form to copy the Clipboard onto the Image control.
Now the problem is all I want the clipboard to contain is the image at that instance on the Media Player.
Currently I get the whole desktop.
Are they anyway I can limit the clipboard to just capture the WMP image.
The next step would be the have the Scan button 'press' the <b>Print Scrn</b> button and then
Image1.Picture = Clipboard.GetData(vbCFBitmap)
Many thanks,
Porto.
Private Sub Scan_Click()
Image1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub
So basically what I want to do is press the <b>Print Scrn</b> button and then press the scan push button on my form to copy the Clipboard onto the Image control.
Now the problem is all I want the clipboard to contain is the image at that instance on the Media Player.
Currently I get the whole desktop.
Are they anyway I can limit the clipboard to just capture the WMP image.
The next step would be the have the Scan button 'press' the <b>Print Scrn</b> button and then
Image1.Picture = Clipboard.GetData(vbCFBitmap)
Many thanks,
Porto.