S
SvdSinner
Guest
Im working to create my first windows service w/ VB.NET (or any language for that matter).
First, I have the app working as a foreground app, and I need to convert it to a service. (It monitors and logs network connections, and I need it to monitor what happens during login.)
Here are my (current questions): (Might be more later)
1) How do I get VS.NET to create and installer to install this service? I found the MDSN instructions, but have never been able to get them to work. (The installer only installs the .exe file, but doesnt install it as a service) I can install it manually but havent figured out how to get the installer to do it automatically.
2) When I install my app as a service manually, and try to start it, it just says that it is infinitely starting, and never says "started". How do I let the OS know that my service has started? (Im guessing it is a property I need to set, or some service app equivilent of the doevents() command, but I dont know.)
3) Once I get it running, if it doesnt work as expected, what debugging options do I have?
First, I have the app working as a foreground app, and I need to convert it to a service. (It monitors and logs network connections, and I need it to monitor what happens during login.)
Here are my (current questions): (Might be more later)
1) How do I get VS.NET to create and installer to install this service? I found the MDSN instructions, but have never been able to get them to work. (The installer only installs the .exe file, but doesnt install it as a service) I can install it manually but havent figured out how to get the installer to do it automatically.
2) When I install my app as a service manually, and try to start it, it just says that it is infinitely starting, and never says "started". How do I let the OS know that my service has started? (Im guessing it is a property I need to set, or some service app equivilent of the doevents() command, but I dont know.)
3) Once I get it running, if it doesnt work as expected, what debugging options do I have?