Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi ,

I am using Embedded C program and i got output . I need to add that output of the C program exe in to .Net windows application Form. If i click that form ,that exe want to execute with ComPort . I have tried it will executing but it will not show the menu in that exe . It will Show blank . I need display for that exe.

Regards ,
Karthick.
Posted
Comments
Sergey Alexandrovich Kryukov 19-Aug-11 2:15am    
Not clear at all. Use "Improve question".
--SA

1 solution

//try this..
Process.Start("Your exe name with location");
 
Share this answer
 
Comments
CPallini 19-Aug-11 5:01am    
[Moved on behalf of the OP]
Hi,

Let me make it clear for you. I have a exe compiled from C program. What the exe does is it communicates to a device using COM port & produces output.
Now, here's the actual issue.. When i call that exe using process.start("path") it opens up a command prompt & calls the exe but it doesnt display anything on the cmd prompt. In contrast when we run the same exe directly it displays the menu & stuff. So i'm not sure how to go abt this... Any help would be appreciated

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900