Solved

NT Service

Posted on 1998-07-11
2
332 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now