Thread: Need help getting a program to run command prompt and a windows app together

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    27

    Need help getting a program to run command prompt and a windows app together

    Right now, i have a C# program that runs in command prompt and writes tons of text files, which i then use a seperate windows C# program that reads the files to translate the data into an image. I want to join these two programs so that they dont have to be run seperately. Whats the best way to go about this? Is there a way I can somehow combine the two so that command prompt will run with the windows program together when executed?

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    4
    I don't see the problem... just copy the code over from the command prompt one to be executed at start in the Form one. If it requires any input you'll need to integrate it into the GUI in some way or another, but I'm not sure I see what the problem is..

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    27
    Ah yeah, doing that was easier than I thought it would have been. I orignally was thinking about running both programs simultaneously somhow using streams and sockets or something, but i guess this is better lol

Popular pages Recent additions subscribe to a feed