Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Screen Capture

Status
Not open for further replies.

reffek

Programmer
Apr 7, 2005
24
0
0
US
I need to write a program to screen capture user's desktops. I did a little research and came up with is:

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top