I need to write a program to screen capture user's desktops. I did a little research and came up with is:
That looks a little clunky and I don't like the idea of messing with the user's clipboard as they may have data on it they want to paste.
So, I just need someone to give me a few hints/tips on how to best go about this. I was thinking of writing it as a Win32 service that would listen for a command from another PC and then process the screen capture on demand.
Code:
SendKeys.Send("^{PRTSC}")
Dim iData As IDataObject = Clipboard.GetDataObject()
Dim thisCapture As Bitmap = iData.GetData(DataFormats.Bitmap)
thisCapture.Save("\\Path\to\file\filename.bmp")
That looks a little clunky and I don't like the idea of messing with the user's clipboard as they may have data on it they want to paste.
So, I just need someone to give me a few hints/tips on how to best go about this. I was thinking of writing it as a Win32 service that would listen for a command from another PC and then process the screen capture on demand.