Screencapture without using SendKeys?

  • Thread starter Thread starter Nick Jacobsen
  • Start date Start date
N

Nick Jacobsen

I am looking for some sample code to do a screen capture (printscreen)
without using SendKeys. Anyone?

TIA,
Nick Jacobsen
(e-mail address removed)
 
Might help if I knew German... but I guess that is what world.astavista.com
is for...

Thanks,
Nick
 
I'd simply ignore the Deutche comments. It is still VB anyways.

The sample code used the Win32 API to get the window handle, and then copied
the window
using StretchBlt. The relevant module, ScreenshotGenerator.vb is callable
from your
application. Just call capture on the ScreenshotGenerator object and it
returns the
screenshot.

Cheers,
 
Back
Top