How do I run an application as a service in Windows 2003

I would like to run a VB application as a service so that it is running all the time and also assured to be started after a restart. My question is how do I make an application run as a service and also how do I check on it with an RDP session?  
Delta526Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sirbountyConnect With a Mentor Commented:
Use Srvany http://support.microsoft.com/kb/137890

Unless you are coding in .Net
0
 
Delta526Author Commented:
Actually I am trying to code in .Net, well the application that I will be wanting to run as a service is a .Net application compiled into a simple .exe file but why would that make a difference??
0
 
sirbountyCommented:
You can create your own service using .net.
Good walkthrough here...http://www.codeguru.com/vb/gen/vb_system/services/article.php/c4825/
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sirbountyCommented:
Well, you can with the 2005 version anyway...
0
 
sirbountyCommented:
Happy to help - thanx for the grade! :^)
0
 
Delta526Author Commented:
Thank you, but if I am to understand this there is no real difference between the two, its just that with VB.Net you can make an application that will install your vb.net application as a service. But lets say I cannot get the application that I want to run as a service built as a VB.NET application I can still go through the steps in the first example with my VB.6 application?
0
 
sirbountyCommented:
Sure.
I've gotten several vb6 services working as a service using srvany.
It's been ages, but it's certainly doable.
Good luck!
0
 
Delta526Author Commented:
Thanks Sir!
0
All Courses

From novice to tech pro — start learning today.