|
-
November 24th, 1999, 03:27 PM
#1
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?
-
November 25th, 1999, 02:47 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|