Simple Service using VB .NET express

ias0nas

New member
Joined
Jan 26, 2007
Messages
1
Programming Experience
1-3
Hello,

I just downloaded the VS 2005 express for vb .NET
I am trying to setup a very simple windows service

I created a console Application and put a simple code to send one e-mail in the Sub main

I then used the sc to register the .exe file as a service.

The service is showing in the services, and the code is excecuted when I start the service (I get an e-mail), but then I get an error that the service failed to start with this message:
Error 1053: The service to the start or control request in a timely fashion.

Is it not possible to create an application, develop it, debug it, and then install it as a service?

Why is it that in the express there is no option for starting a new windows service project?

Thank you
 
Back
Top