Results 1 to 2 of 2

Thread: ShellExecute Question--Suspend a Window

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    1

    ShellExecute Question--Suspend a Window

    I'm trying to open a ".exe" file using the shellexecute command. The problem I'm running into follows: when my application passes the arguments and the ".exe" is run, the command prompt window appears and disappears promptly when the program is done. Is there a way to keep that window up (possibly with a "press a key to exit" message) to view the data displayed by the ".exe" when run from DOS? If this needs to be done by using shellexecute on a DOS window, is there still a way to pass and return parameters, and a non-manual way to exit the window? Any help would be greatly appreciated.

    -Billy
    Last edited by bookhead; Aug 1st, 2001 at 01:27 PM.

  2. #2
    Member
    Join Date
    Oct 2000
    Posts
    35
    The reason is probably the program you're running, it just exits intstead of waiting for a key. If you can't change the DOS-Program, can try using a PIF-File(called someapp.pif if your DOS-Program is named sommeapp.exe, both in the same folder) appropriate settings.
    rfo

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