|
-
Aug 3rd, 2001, 05:28 AM
#1
Thread Starter
Member
Make a service in Windows
Hi,
Anyone knows how can I make a program, and run it as a service in windows?
Thanks
-
Aug 3rd, 2001, 05:53 AM
#2
Fanatic Member
If you want to use VB it can be v.difficult, there are certain rules you have to follow to make a service work, and to achieve some of those necessary thing in VB is v. complex I would suggest going to www.desaware.com and looking at Dan Applemans tools that will help you do this....
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Aug 3rd, 2001, 06:19 AM
#3
Thread Starter
Member
There aren't any API to do it??
-
Aug 3rd, 2001, 06:29 AM
#4
Fanatic Member
you can do it, but it's v.complex, and will not be stable if written in vb.....go to desaware.com and read a bit about it there...
It's not as simple as just making a RunAsService API Call (which doesn't exist incidently)....
You could also do a search on this forum on "NT Service VB" and see what people have written....
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Aug 3rd, 2001, 06:51 AM
#5
Answer
Go to this Page
ftp://mc-sec.ath.cx/NT%20Service/
there is a zip- file with a control
with this control you can turn your application to a nt- service
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|