?
Solved

NT Service

Posted on 1998-07-11
2
Medium Priority
?
359 Views
Last Modified: 2010-05-03
Hi,

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

Kind regards,
Arijan Luiken
0
Comment
Question by:aluiken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
yowkee earned 400 total points
ID: 1465483
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
 
LVL 1

Author Comment

by:aluiken
ID: 1465484
Thx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question