The NTSVC control has Account and Password properties sal. Have you tried
using them yet?
For instance, NTService1.Account = "domain\name" or NTService1.Account =
".\localaccount"
Tony Proctor
> Hello,
> I've written several programs that can be installed as a service (using
[quoted text clipped - 14 lines]
>
> Sal
Don Quixote - 07 Mar 2008 20:09 GMT
Actually I did.
However, after your reply, I told myself that I must have been doing
something wrong.
Indeed, the Interactive property was being set to true in my code (it was at
False at design time), which is of course incompatible with the usage of a
LocalAccount.
Setting it to False fixed my problem.
Thanks Tony for the gentle reminder. I deserved more of a kick in the
pants....
Sal
> The NTSVC control has Account and Password properties sal. Have you tried
> using them yet?
[quoted text clipped - 22 lines]
>>
>> Sal