Click here to Skip to main content
15,031,162 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can i run an exe file located inside my project in the background
note that the file has no gui
Posted
Updated 5-Sep-14 4:43am
v2
Comments
[no name] 5-Sep-14 10:43am
   
What do you mean "in the background"? You mean like a windows service?
M. Daban 5-Sep-14 10:44am
   
its a file with no gui that do some work
i want to run it once without user notice that
[no name] 5-Sep-14 10:46am
   
Okay... so what is the problem then? Run it however you want to.
M. Daban 5-Sep-14 10:48am
   
how!
[no name] 5-Sep-14 11:01am
   
What do you mean 'how'? Run it however you want just like any other executable. We can't read your mind..
M. Daban 5-Sep-14 10:46am
   
the file closed automatically when finish
Mike Meinz 5-Sep-14 12:53pm
   
Can you use Task Scheduler to start your program?

You can use the Process.Start method.

See here for examples: http://www.dotnetperls.com/process[^]
   
   

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