Results 1 to 2 of 2

Thread: Return Values for Application

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    2

    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?

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Return Values for Application

    Quote 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
  •  



Click Here to Expand Forum to Full Width