?
Solved

NT system service???

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 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