CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #1
    Join Date
    Jan 2009
    Posts
    19

    Question Making Gui for console Application

    I have a console application which has already been compiled .I have no code with me . I want to invoke this app through GUI GUI . What is the best time saving maneuver to do that .

    Also the application was released in .net Framework 2.0 and now I'm going to release it for .net Framework 3.5. It won't make a difference because I'm assuming that the classes haven't been altered that vigorously by Microsoft.

    Anyway How can I provide input to a console application using GUI and retrieve the output inside my GUI?

    I hope my question is making somewhat sense to all of you??


    As requested Here are my restrictions:

    1. I only have a console application ,No source code is available for that ,nor do i have any access.

    2. I 've build a GUI that is needed , Now what I want to do is that I want on invoke the console application using the GUI that I've created .

    For instance the console application works on inputs X,Y and Z and gives the Output 'O'.
    i want to pass these X,Y,Z inputs to using a WinForm and the output 'O' will be trapped inside GUI.

    I am working on a solution like I'm trying to use System.Diagnostics.Process.Start method to call the console application, passing whatever command line arguments .
    is there any other solution that is more effective than this?
    Last edited by Abhishek Chauhan; January 5th, 2009 at 07:09 AM.

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

Featured