Solved

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

Posted on 2007-03-20
8
256 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
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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 listed in my profile here: http:…
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…
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…
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…

773 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