Info on writing windows services

  • Thread starter Cory J. Laidlaw, Beyond01.com
  • Start date
C

Cory J. Laidlaw, Beyond01.com

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!
 
K

kimiraikkonen

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_system/services/article.php/c4825
http://www.devarticles.com/c/a/VB.Net/Creating-A-Windows-Service-in-VB.NET/
http://www.devarticles.com/c/a/VB.Net/Creating-A-Windows-Service-in-VB.NET/

Hope this helps,

Onur Güzel
 
Z

zacks

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/library/9k985bc9(VS.80).aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top