I've found code on the net to register a service using C# code. It works
great. Problem is I'd like it in VB.Net and I can get it all to compile,
it's just that I'm having problems that it can't find the dll correctly.
Could somebody look at this and tell me what I need to do to make it work
under vb.net?
TIA - Jeff.
[DllImport("advapi32.dll")]
public static extern IntPtr OpenSCManager(string lpMachineName,string
lpSCDB, int scParameter);