?
Solved

creating a service

Posted on 2006-10-19
4
Medium Priority
?
208 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
[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
  • 2
4 Comments
 
LVL 8

Assisted Solution

by:bman9111
bman9111 earned 200 total points
ID: 17770842
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 800 total points
ID: 17770918
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
ID: 17770920
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
ID: 17802237
Thanx for the help.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 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