C# Programming
11-04-2009, 12:11 PM
I am getting problem when i launch a UI Application from windows Service Application.
My requirement is while starting up of the service i need to run a UI Application.for Example i have taken notepad.exe.
The below code is the code i have implemented to run the process.
Process p = new Process();
p.StartInfo.FileName = @"C:\WINDOWS\system32\notepad.exe";
bool bretval = p.Start();
Problem here is: It is running the process(notepad.exe) in background.
I am not able to see it.
I have gone through several Articles and i felt that WINDOWS service
will supress the UI. Is there any Work around or any other Option so that
my requirement can be obtained.
Pls help me in this regard.
My requirement is while starting up of the service i need to run a UI Application.for Example i have taken notepad.exe.
The below code is the code i have implemented to run the process.
Process p = new Process();
p.StartInfo.FileName = @"C:\WINDOWS\system32\notepad.exe";
bool bretval = p.Start();
Problem here is: It is running the process(notepad.exe) in background.
I am not able to see it.
I have gone through several Articles and i felt that WINDOWS service
will supress the UI. Is there any Work around or any other Option so that
my requirement can be obtained.
Pls help me in this regard.