Results 1 to 1 of 1

Thread: cannot locate .exe window...

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jun 1999
    Location
    palmdale, ca. USA
    Posts
    150

    cannot locate .exe window...

    ok guys..
    i'll try posting this here and see if i get an answer.....

    when i run my .exe with shellexecute.. i did not think it was running..i brought up the task manager, and it was indeed running. the problem is, is that there is no window with it in there. it usually runs in a dos type window...

    I am using it on XP, 2000, and NT...
    -----------------------------------
    x = ShellExecute(0, "Open", progdir, " -game tfc" & " -port " & portnum & " +map " & mapuse, GamePath, SW_SHOW)

    Do: Loop Until FindWindow("tty", "HLDS")
    lhWnd = FindWindow("tty", "HLDS")

    MainForm.SSTab1.Tab = 3
    MainForm.Picture6.Visible = False

    End Function
    [/Highlight]

    -----------------------------
    any ideas ?

    thanks,
    kevin rea
    [email protected]
    Last edited by krea; Jan 17th, 2002 at 01:55 PM.

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