Here’s an update to my post on NT service. I’ve found the API examples is MSDN to be incorrect. I’ve tried to fix some of these bugs and make the routines useful. However, the best addition is a Microsoft OCX to make services easy! NTSVC.OCX is included and free to distribute. Take a look at the sample code an decide for yourself. NTSVC finally makes running your app as an NT service easy!!!
You may want to read the MSDN articles:
“INFO: Running Visual Basic Applications as Windows NT Services”
“NT Service: An OLE Control for Creating Windows NT Services in Visual Basic”
Here are some links to check out:
http:/support.microsoft.com/support/kb/articles/Q170/8/83.asp
http:/support.microsoft.com/support/kb/articles/Q175/9/48.ASP
http:/msdn.microsoft.com/library/techart/msdn_ntsrvocx.htm
http:/vbwire.com/advanced/howto/service2.asp
http:/vbwire.com/advanced/howto/service.asp
Original Author: Paul Mather
Attachments
File | Uploaded | Size |
---|---|---|
CODE_UPLOAD3867382000.zip | 9/3/2020 3:45:00 PM | 60649 |