?
Solved

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

Posted on 2007-03-20
8
Medium Priority
?
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 2000 total points
ID: 18760869
Use Srvany http://support.microsoft.com/kb/137890

Unless you are coding in .Net
0
 

Author Comment

by:Delta526
ID: 18760882
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
ID: 18760890
You can create your own service using .net.
Good walkthrough here...http://www.codeguru.com/vb/gen/vb_system/services/article.php/c4825/
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 67

Expert Comment

by:sirbounty
ID: 18760893
Well, you can with the 2005 version anyway...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18760954
Happy to help - thanx for the grade! :^)
0
 

Author Comment

by:Delta526
ID: 18760966
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
ID: 18761019
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
ID: 18761598
Thanks Sir!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…
Suggested Courses

770 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