Solved

NT system service???

Posted on 2002-05-19
5
139 Views
Last Modified: 2010-05-02
I am familiar with srvany.exe method of allowing VB apps to run as system service.. I am looking for other methods and would like to avoid OCX's any ideas
0
Comment
Question by:hilltop
[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
5 Comments
 

Expert Comment

by:GuruVB
ID: 7021042
Hi,

One thing u can do easily.

Make the VB DLL of your service.(what all the functionality you want to put it in service, put it in VB dll) Then make VC++ NT service and from that service call u r VB DLL as if it is the external OLE component.

I am using this technique for last 2 yes and didn’t get any problem.

I hope this will help you.

PS: (In VC there are some wizards so it’s very easy to create the NT service)
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 7021478
listening
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7021554
see this other option: http://www.desaware.com/NTToolkitL2.htm

Another way is to move to .Net which allows you to build Windows services natively.
0
 
LVL 2

Author Comment

by:hilltop
ID: 7021673
whats the cost of .net
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7021682
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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

695 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