• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

NT Service

Hi,

Is it possible to create an nt service using vb5.0 ?
Ifso, please post me an example.

Kind regards,
Arijan Luiken
0
aluiken
Asked:
aluiken
1 Solution
 
yowkeeCommented:
aluiken,

   Yes. It is possible. But you must beware of some issue when you create NT service in VB.
   Take a look at these pages:

http://vb.duke.net/howto/service.html
http://vb.duke.net/howto/service2.html
http://support.microsoft.com/support/kb/articles/q175/9/48.asp (This MS kb articles contains example source in VB)

And, you could also use a ocx from microsoft. They provide the vc source of the ocx NTSvc.ocx but did not provide the compiled ocx file. You may download the vc source and compiled the ocx yourself. Microsoft didn't provide support for this ocx. Info about this ntsvc.ocx:
http://support.microsoft.com/support/kb/articles/q170/8/83.asp

Hope this help.
0
 
aluikenAuthor Commented:
Thx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now