C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 12-22-2006, 09:50 AM   #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?
Crazy Glue is offline   Reply With Quote
Old 12-22-2006, 12:56 PM   #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..
insanedesio is offline   Reply With Quote
Old 12-22-2006, 08:45 PM   #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
Crazy Glue is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22