Launching an app from within my Winforms app

A

APA

I'm trying to launch another (WinForms) application from my WinForms app. I want it to work like launching an app from Explorer, i.e. I don't want my
app to have any ties to the app it launched. I've tried to use Process.Start but it doesn't see to be passing my command line parameter and if there
is already a running instance of the app it won't attempt to run it again. Is there any other way to launch an app from a WinForms app?
 
M

Mark Salsbery [MVP]

APA said:
I'm trying to launch another (WinForms) application from my WinForms app.
I want it to work like launching an app from Explorer, i.e. I don't want
my app to have any ties to the app it launched. I've tried to use
Process.Start but it doesn't see to be passing my command line parameter
and if there is already a running instance of the app it won't attempt to
run it again. Is there any other way to launch an app from a WinForms
app?


Can you show example code that fails? Process.Start works fine for me.

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top