?
Solved

NT system service???

Posted on 2002-05-19
5
Medium Priority
?
141 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 200 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

Technology Partners: 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 Month11 days, 6 hours left to enroll

770 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