Results 1 to 3 of 3

Thread: Finding .Net control's instance name from an hWnd.

  1. #1
    Join Date
    Jan 2009
    Posts
    36

    Finding .Net control's instance name from an hWnd.

    Hi,
    I am trying to run an automated testing application for Vb.Net.
    I can find all of the
    window handles for the app under test, but now I need to get from the handle
    back to the .net control instance and examine its properties.

  2. #2
    Join Date
    May 2008
    Posts
    63

    Re: Finding .Net control's instance name from an hWnd.

    Control.FromHandle() is the answer for what you need!

  3. #3
    Join Date
    Jan 2009
    Posts
    36

    Re: Finding .Net control's instance name from an hWnd.

    Sorry Alphonsus but am not in in the same process so this Control.FromHandle() wont help me!
    IS thre any other way?

Similar Threads

  1. SQL instance is not reachable randomly
    By Tabita in forum Operating Systems
    Replies: 4
    Last Post: 26-02-2011, 06:22 PM
  2. Differentiation between C++ object and instance
    By Ram Bharose in forum Software Development
    Replies: 4
    Last Post: 06-02-2010, 01:40 PM
  3. how many instance of svchost.exe should be running
    By - Empty Shell - in forum Operating Systems
    Replies: 3
    Last Post: 07-09-2009, 01:28 PM
  4. Instance name with flash help
    By Jaisudha in forum Technology & Internet
    Replies: 3
    Last Post: 11-07-2009, 12:12 PM
  5. SUNKIST. NOTIFYICONDATA.hWnd
    By AK_Chopra in forum Networking & Security
    Replies: 3
    Last Post: 15-06-2009, 02:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,254,726.83102 seconds with 16 queries