CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    capture picture from another application

    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.


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: capture picture from another application

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured