Launching One Application for Windows from Another

ID: Q97331


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


SUMMARY

APPEXEC is a technical note in the Microsoft Software Library that discusses launching Windows-based applications from other applications for Windows. APPEXEC is a Windows Help file.


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Appexec.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center. An application for Microsoft Windows often needs to be launched from another Windows-based application. In addition to starting a second application, sometimes the primary application needs to know when the second application terminates.

This technical article discusses the following points:

  • Several ways to start applications


  • An approach to finding applications not located on the current Windows search path


  • A method for detecting whether an application is still running


  • Using the same Windows-based techniques for starting applications for MS-DOS


APPEXEC, the sample application provided with this article, contains code that solves the problems involved in finding and starting one Windows-based application from another, as well as determining later whether that application is still running.

Additional query words: softlib APPEXEC.EXE kbfile

Keywords : kbfile kbsample kb16bitonly kbWinOS310
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.