15,611,156 members
See more:
I Have 2 Applications
1.console applications
2.Windows applications
I need to run console application in the background of the windows application and i need to open the windows application using c#.
Posted
Black_Rose 17-Apr-15 7:05am
Not clear..
why you want a console at all?
Does this need a user interface at all?
If not, just make it a windows forms app, and remove the form. Open the "program.cs" file, and replace the code in the Main method
Srikanth59 17-Apr-15 7:09am
console application have some kind of long running task, so i don't want to show that console application in the windows form

## Solution 1

To start up a process you can use the Process class in the namespace System.Diagnostics.
https://msdn.microsoft.com/en-us/library/system.diagnostics.process%28v=vs.110%29.aspx[^]
C#
Process.Start("path\\to\\yourApplication.exe");

v3

## Solution 2

procStartInfo.WindowStyle = ProcessWindowStyle.Hidden;


## Solution 3

C# - Read Text From Console Window Asynchronously[^]