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?