"Chaining" Between Applications

P

Peter D. Dunlap

Here's another question...

I'd like to have one application launch another one, then exit. In
Windows I could use CreateProcess for this, but I'm having trouble
tracking down a .NET way of doing this. The applications are in two
separate EXE files.

Here's the (maybe) really tricky part -- I need to be able to pass a
block of information from the first process to the second one.

The reason for this is that the first application is just a launcher
that will check for updates to the main program on a remote site (via
a private web service) and download any updated components before
starting the main program. The user has to be authorized before
downloading the updates, so I need to pass this authorization
information to the main program so the user doesn't have to do it
twice.

Pete Dunlap
 
P

Peter D. Dunlap

Here's another question...

I'd like to have one application launch another one, then exit. In
Windows I could use CreateProcess for this, but I'm having trouble
tracking down a .NET way of doing this. The applications are in two
separate EXE files.

Here's the (maybe) really tricky part -- I need to be able to pass a
block of information from the first process to the second one.

The reason for this is that the first application is just a launcher
that will check for updates to the main program on a remote site (via
a private web service) and download any updated components before
starting the main program. The user has to be authorized before
downloading the updates, so I need to pass this authorization
information to the main program so the user doesn't have to do it
twice.

Pete Dunlap

Never mind, I think I found it. System.Diagnostics.Process, which
seems like an odd place for it...
 

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