Click to See Complete Forum and Search --> : capture picture from another application


February 22nd, 2000, 05:37 AM
hi,

I'm new in VB.
I want to capture picture from another application. First I must get the Handle of the form by clic on it for example. Then I copy a rectangle of this form into my application, but how to determine graphicaly this region ?

thanks a lot.

Chris Eastwood
February 22nd, 2000, 06:05 AM
Once you have the HWND of the window you want to capture, you can use the code from :

http://codeguru.developer.com/vb/articles/1998.shtml

- to capture that window and then save/print/whatever you want to do with it.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb