"Chaining" Between Applications

  • Thread starter Thread starter Peter D. Dunlap
  • Start date Start date
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
 
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...
 
Back
Top