Results 1 to 3 of 3

Thread: FindWindow Prob

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    18

    Angry

    Hi,

    If i do

    a=Findwindow("OpusApp", "Microsoft Word - MyDoc")

    ok i get the handle. but that only works if MyDoc is the Active Document.

    My question is how to know if 'MyDoc' is Launched if it is not the active document...

    Please a little help...
    Thanks

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Use only tha class name:
    Code:
    a=Findwindow("OpusApp", vbNullString)
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    18

    Exclamation ok but...

    If i do that :

    a=Findwindow("OpusApp", vbnullstring)


    I only know if Word is running.

    In that particular case it doesn't tell me if 'MyDoc' is running or not. it could be just 'Document1'

    hope i'm clear enough...

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