Results 1 to 3 of 3

Thread: instance of another applicaion

  1. #1

    Thread Starter
    Hyperactive Member ravi15481's Avatar
    Join Date
    Aug 2002
    Location
    INDIA
    Posts
    421

    instance of another applicaion

    hi friends, how to get the instance of another application.
    A good friend...

  2. #2
    Hyperactive Member MikeBAM's Avatar
    Join Date
    Sep 2000
    Location
    Metro Detroit
    Posts
    284
    I'm sorry you havn't even written a complete sentence; how do you evpect to get results? There is totally not enough information provided in your post.
    ~* )v( ! /< E *~

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Do you mean the hInstance? If so, then if you have the hWnd of the window...
    VB Code:
    1. Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, _
    2.                                                                             ByVal nIndex As Long) _
    3.                                                                             As Long
    4. Private Const GWL_HINSTANCE = (-6)
    5.  
    6. MsgBox GetWindowLong(hwnd, GWL_HINSTANCE)
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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