Solved

NT system service???

Posted on 2002-05-19
5
133 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 69

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 69

Expert Comment

by:Éric Moreau
ID: 7021682
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

760 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

19 Experts available now in Live!

Get 1:1 Help Now