Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-03-20
8
Medium Priority
?
268 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
Industry Leaders: 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Know what services you can and cannot, should and should not combine on your server.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

618 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