Solved

creating a service

Posted on 2006-10-19
4
203 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 50 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 200 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

688 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