HELP! Windows Services N process

sapator

Member
Joined
Oct 4, 2006
Messages
23
Programming Experience
1-3
Hi.
I have created a windows service and inside the OnStart sub i create a process that runs a windowsApplication that simply opens a form. The problem is that the windowsApplication will saw on the TaskManager (running as user,admin or whatever i choose), it will work when i execute the code from another windows application but it will NOT execute from the Onstart on the service.
I've use both ProcessStartInfo and putting the info myself on the process.etcetc
I've modified the ProjectInstaller in order to run as administrator,user or whatever (because i've read that services run in a different context), i've also used the ProcessStartInfo.CreateNoWindow = False
.
Nothing! The service is installed, i start it and the windowsapplication is shown in the Taskmanager Pool but the form does not show at all. The problem is not on the form to saw cuz i've included a sub that creates a text file on my drive but the file is also not created.
Someone?!!
Thanks!
 
Top Bottom