-
NT Service Control
I want to create a VB application that runs as an NT service, however I do not want to utilize a form as a container to hold the NTsrv.ocx control. Is it possible to simply declare the control within a primary class module or do I have to have a form within the program?
-
Re: NT Service Control
AFAIK you need to have a control container in order to use an OCX. In a VB app that's a form.
You can make the form inivisible.
Also bear in mind, that on MSDN MS has documented that it is not recommended to write services in VB.