|
-
Nov 1st, 2006, 09:08 AM
#1
Thread Starter
New Member
Return Values for Application
Hi
I would like to know what is the best way to return values from a application to the calling application.
What i have so far is this.
I have to applications
A.exe and B.exe
In A.exe i start B.exe with Procees.Start and Process.WaitForExit.
When B.exe is exiting the code in A.exe check the Process.ExitCode.
Know this is not helpimg me cause Process.ExitCode can only retun a int value and i need a String value.
Can someone pls help me to find a solution for this problem i am thinking about writing the values to the registry?
-
Nov 1st, 2006, 12:34 PM
#2
Re: Return Values for Application
 Originally Posted by IBandit
Hi
I would like to know what is the best way to return values from a application to the calling application.
What i have so far is this.
I have to applications
A.exe and B.exe
In A.exe i start B.exe with Procees.Start and Process.WaitForExit.
When B.exe is exiting the code in A.exe check the Process.ExitCode.
Know this is not helpimg me cause Process.ExitCode can only retun a int value and i need a String value.
Can someone pls help me to find a solution for this problem i am thinking about writing the values to the registry?
Use an intermediate file to write the temporary string
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|