Hi All

I have a Windows Service(say TestService.exe) with OnStart event. I have
another Windows Forms Application (say TestForms.exe).

I want to execute TestForms.exe on the OnStart event of the TestService
WindowsService.

I tried to use in the OnStart event

System.Diagnostices.Process.Start(@"C:\TestForms.exe), this resulted in an
error.

I also tried to copy the TestForms.exe to the System32 directory and
execute but no success.

Can someone help me in guiding the right way.

Appreciate any help.

Thanks
Nischal

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to