Solved

NT Service

Posted on 1998-07-11
2
346 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
2 Comments
 
LVL 4

Accepted Solution

by:
yowkee earned 100 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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel - Save a copy of work book 13 91
Error when passing an argument to a vb6 that contains  '/' 7 45
VB 6 error 5 in windows 10 but not in XP 7 67
vbModal 12 66
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

713 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