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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top