Solved

creating a service

Posted on 2006-10-19
4
191 Views
Last Modified: 2010-04-23
No real problem here - I just want to create my first 'service' using .net 2005
Looking for pointers/guides etc.  I don't know where to begin (other than google... :|)

I'll probably ask a few followups later though...

I have a monitoring app, if you will, that determines when my VPN connection drops.
I'd rather create this as a service (can I simply 'redo' what I have?)
Thanx
0
Comment
Question by:sirbounty
  • 2
4 Comments
 
LVL 8

Assisted Solution

by:bman9111
bman9111 earned 50 total points
Comment Utility
http://www.developerfusion.co.uk/show/3441/2/

this applies to vb 2005 as well. If you go to google and do a search u will find a lot of hits.
0
 
LVL 4

Accepted Solution

by:
adam_pedley earned 200 total points
Comment Utility
http://www.devarticles.com/c/a/VB.Net/Creating-A-Windows-Service-in-VB.NET/
http://www.codeguru.com/vb/gen/vb_system/services/article.php/c4825/
http://www.codeproject.com/dotnet/simplewindowsservice.asp

Yes you can copy what you have previously done.

The service is just a different way of packaging code.

In the service the main two functions are start and stop (which are auto created)

Just move your code across and put the startup functions in the Start Function.

Also note that VS 2005 Pro and above are the only versions that can create a windows service.

VS 2005 Express does not provide that functionality.
0
 
LVL 4

Expert Comment

by:adam_pedley
Comment Utility
That last link is for C# but it does provide some instructions on installation of a service.

I find that not one article explains all you need to know. It normally takes a few.
0
 
LVL 67

Author Comment

by:sirbounty
Comment Utility
Thanx for the help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

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

6 Experts available now in Live!

Get 1:1 Help Now