Solved

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

Posted on 2007-03-20
8
252 Views
Last Modified: 2013-11-21
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?  
0
Comment
Question by:Delta526
  • 5
  • 3
8 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
Comment Utility
Use Srvany http://support.microsoft.com/kb/137890

Unless you are coding in .Net
0
 

Author Comment

by:Delta526
Comment Utility
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
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
You can create your own service using .net.
Good walkthrough here...http://www.codeguru.com/vb/gen/vb_system/services/article.php/c4825/
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Well, you can with the 2005 version anyway...
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Happy to help - thanx for the grade! :^)
0
 

Author Comment

by:Delta526
Comment Utility
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
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
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
 

Author Comment

by:Delta526
Comment Utility
Thanks Sir!
0

Featured Post

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Know what services you can and cannot, should and should not combine on your server.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

762 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

11 Experts available now in Live!

Get 1:1 Help Now