Click here to Skip to main content
15,906,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to run B.exe when I open my A.exe.

I have used the below code to run the EXE as a background process from my main executable(A.exe).

ProcessStartInfo stInfo = new ProcessStartInfo();
stInfo.FileName= "B.exe";
stInfo.WindowStyle = ProcessWindowstyle.Hidden;
Process p = new Process();
p.StartInfo = stInfo;
p.Start();


But B.exe is appearing in the screen..

I want to run B.exe without user's knowledge.......

What I did wrong....

Help me...

Thanks
Mydeen.
Posted
Updated 7-Mar-10 23:59pm
v3

1 solution

 
Share this answer
 

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