473,503 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Info on writing windows services

Hi. I need to write a new windows service that will run on windows server,
probably 2003.

Does anyone know of a good place on MSDN (or elsewhere) to get basic
examples of how to do this?

I need to know what registry keys need to be writen to run the service. I
also have seen some limited stuff about needing to call a windows method that
registers to the OS confirming the service has started within so many
seconds.

I will be writing this in VB.NET 2008.

any input welcomed. thanks!
Oct 14 '08 #1
3 1514
On Oct 14, 9:39*pm, Cory J. Laidlaw, Beyond01.com
<CoryJLaidlawBeyond01...@discussions.microsoft.com wrote:
Hi. I need to write a new windows service that will run on windows server,
probably 2003.

Does anyone know of a good place on MSDN (or elsewhere) to get basic
examples of how to do this?

I need to know what registry keys need to be writen to run the service. I
also have seen some limited stuff about needing to call a windows method that
registers to the OS confirming the service has started within so many
seconds.

I will be writing this in VB.NET 2008.

any input welcomed. thanks!
It maybe old, but it must be still applicable on .NET,
so,you can try these:
http://www.codeguru.com/vb/gen/vb_sy...icle.php/c4825
http://www.devarticles.com/c/a/VB.Ne...ice-in-VB.NET/
http://www.devarticles.com/c/a/VB.Ne...ice-in-VB.NET/

Hope this helps,

Onur Güzel
Oct 14 '08 #2
On Oct 14, 2:39*pm, Cory J. Laidlaw, Beyond01.com
<CoryJLaidlawBeyond01...@discussions.microsoft.com wrote:
Hi. I need to write a new windows service that will run on windows server,
probably 2003.

Does anyone know of a good place on MSDN (or elsewhere) to get basic
examples of how to do this?

I need to know what registry keys need to be writen to run the service. I
also have seen some limited stuff about needing to call a windows method that
registers to the OS confirming the service has started within so many
seconds.

I will be writing this in VB.NET 2008.

any input welcomed. thanks!
http://msdn.microsoft.com/en-us/libr...c9(VS.80).aspx
Oct 14 '08 #3
Thanks guys. Looks like a great place to start!

"kimiraikkonen" wrote:
On Oct 14, 9:39 pm, Cory J. Laidlaw, Beyond01.com
<CoryJLaidlawBeyond01...@discussions.microsoft.com wrote:
Hi. I need to write a new windows service that will run on windows server,
probably 2003.

Does anyone know of a good place on MSDN (or elsewhere) to get basic
examples of how to do this?

I need to know what registry keys need to be writen to run the service. I
also have seen some limited stuff about needing to call a windows method that
registers to the OS confirming the service has started within so many
seconds.

I will be writing this in VB.NET 2008.

any input welcomed. thanks!

It maybe old, but it must be still applicable on .NET,
so,you can try these:
http://www.codeguru.com/vb/gen/vb_sy...icle.php/c4825
http://www.devarticles.com/c/a/VB.Ne...ice-in-VB.NET/
http://www.devarticles.com/c/a/VB.Ne...ice-in-VB.NET/

Hope this helps,

Onur Güzel
Oct 24 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4370
by: Idris Farooqi | last post by:
Could anyone please tell me, where I can download the Internet Information Services ( 5.0) from. Apparently I'm supposed to have it on my WinXP, but I've checked and double checked, and havent...
4
2103
by: Ringo Langly | last post by:
Hi all, I'm a seasoned web programmer, but I've never touched XSLT. It's always been one of those acronyms I've never needed to educate myself on. Now... we're working with a web content...
3
1858
by: Glenn Venzke | last post by:
I'd like to write a windows service. Unfortunately, my company would only spring for the standard edition of VB.NET which doesn't support the creation of windows services. Is it possible to write one...
0
979
by: Stephen Olmsted | last post by:
I'm going to be writing multi-threaded interfaces that run in the background as Windows Services. Are there any good books that people can recommend that would be good resources for such a project?...
6
1702
by: MattC | last post by:
I have some code that correctly writes to the eventlog on my local machine. I have installed the application on the Live server and all is not well, no event log entries. My development box...
20
4442
by: Tim Reynolds | last post by:
Team, I am developing a web service. In testing in on my enw PC, I am expecting to see exceptions thrown appear on my browser. Instead I am getting an HTTP 500 Internal Server Error page and I am...
2
2103
by: cj | last post by:
<System.Web.Services.WebService(Name:="CJ's Service", Description:="Testing 123", Namespace:="http://myco.com/cj/one")_...
0
1292
by: M.-A. Lemburg | last post by:
Just to let you know: we also provide binaries and support for Mac OS X Intel and PPC. Thanks to Joe Strout for pinging us about this. On 2008-10-15 17:41, eGenix Team: M.-A. Lemburg wrote: ...
0
6101
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too)....
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.