Results 1 to 3 of 3

Thread: Child Process

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    25

    Cool

    How can i know if one process is a child of another process ? or how can i find out the parent process of a given process ?

    Thanks

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    Use the IsChild API.
    Code:
    Dim ret
    ret = IsChild(Form1.hwnd, Command1.hwnd)
    if ret = 0 then
    Debug.Print "Not Parent"
    Else
    Debug.Print "Parent"
    for number 2, use GetParent API. See http://www.vbapi.com for both
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    25

    Post

    I think that IsChild will work only within the process and not between two windows belonging to a different processes.

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