Starting application from my application 
Author Message
 Starting application from my application

Hello,

Thanks for taking time to read this.

Do you know if it is possible to start an application like Word, Notepad
etc. from my own written application.

I wrote an application and when this application is running and clicking a
button I like to start another application. Is this possible? Could you tell
me how to achieve this?

Thanks in advance,
Ren



Sat, 26 Feb 2005 09:14:33 GMT  
 Starting application from my application
ShellExecute(...)

Nish


Quote:

> Hello,

> Thanks for taking time to read this.

> Do you know if it is possible to start an application like Word, Notepad
> etc. from my own written application.

> I wrote an application and when this application is running and clicking a
> button I like to start another application. Is this possible? Could you
tell
> me how to achieve this?

> Thanks in advance,
> Ren



Sat, 26 Feb 2005 09:28:25 GMT  
 Starting application from my application
ShellExecute(NULL, "open", "C:\\Program Files\\Microsoft
Word\\Bin\\Word.exe", NULL, NULL, SW_SHOWNORMAL);

HTH,

Quote:

> Hello,

> Thanks for taking time to read this.

> Do you know if it is possible to start an application like Word, Notepad
> etc. from my own written application.

> I wrote an application and when this application is running and clicking a
> button I like to start another application. Is this possible? Could you
tell
> me how to achieve this?

> Thanks in advance,
> Ren



Sat, 26 Feb 2005 09:32:23 GMT  
 Starting application from my application

Try ShellExecute; you have all info about that function at this url:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shel...
tform/Shell/reference/functions/shellexecute.asp



Sat, 26 Feb 2005 09:49:22 GMT  
 Starting application from my application
    Use ShellExecuteEx() / CreateProcess() API's. See KB article

        Q131775 - HOWTO: Access Child Process Exit Code from 32-Bit Parent
Process

    for an example

--
Cheers
Check Abdoul
----------------


Quote:

> Hello,

> Thanks for taking time to read this.

> Do you know if it is possible to start an application like Word, Notepad
> etc. from my own written application.

> I wrote an application and when this application is running and clicking a
> button I like to start another application. Is this possible? Could you
tell
> me how to achieve this?

> Thanks in advance,
> Ren



Sat, 26 Feb 2005 15:06:51 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. start application within an application

2. How to Modify a Commercial Windows Application to Start an other Application

3. Start selection dialog before the application starts ...

4. starting an application inside a window

5. Start MDI application with no empty document

6. Why the application failed to start?

7. The application cannot start

8. Delay when starting a C# local window application when connected to internet

9. Help!! How to start an application using C#

10. starting & running an application

11. start application properly

12. Starting a Windows application....

 

 
Powered by phpBB® Forum Software