N
NYGeekGirl
I have two applications, one of which can launch the other using a
System.Diagnostics.Process. I want to pass database connection
information from one application to the other. I've resorted to
creating an INI on the fly (that contains the connection information)
when the first app attempts to launch the second app. That file is
deleted immediately after the second app starts and grabs the data it
needs. Though this works pretty well I'm not comfortable with the
fact the information is out there (if even for a short time) and, if
the deletion ever fails, it could be out there until it is overwritten.
Does anyone have any ideas of how I can execute this more cleanly or
direct me to a good resource?
Thanks in advance for any help you can give me.
System.Diagnostics.Process. I want to pass database connection
information from one application to the other. I've resorted to
creating an INI on the fly (that contains the connection information)
when the first app attempts to launch the second app. That file is
deleted immediately after the second app starts and grabs the data it
needs. Though this works pretty well I'm not comfortable with the
fact the information is out there (if even for a short time) and, if
the deletion ever fails, it could be out there until it is overwritten.
Does anyone have any ideas of how I can execute this more cleanly or
direct me to a good resource?
Thanks in advance for any help you can give me.