CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Location
    USA
    Posts
    25

    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?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    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
  •  





Click Here to Expand Forum to Full Width

Featured