View Single Post
  #1 (permalink)  
Old Aug 6th, 2004, 10:19
si2n si2n is offline
New Member
Join Date: Dec 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
windowservice startparameter

hi

Is there a way to set the startparameter of a windowservice programmatically, for that I can set the starttype to 'automatic'??

maybe in the projectinstaller-class (serviceinstaller)??


to explain a little more:
when the service is installed, you can select it in the Windows Services Control Manager (Programs->Administrative Tools->Services). then right-click it an choose 'properties' and there you can write a startparameter and start the service.
(everytime you close the properties-window, this parameter is deleted...)

i would like to know how i can force the service to keep that parameter....




thanx for any help!!

greets
Sabine