Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

NT Service

Posted on 1998-07-11
2
Medium Priority
?
366 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 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…
Suggested Courses

618 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