Windows Services in VB.NET

sharepoint , Italy
  • 13 years ago I have tried about 3 diferent small examples, including on this website, Windows services applications. The project always compiles, instals and starts with no problems. However, it only will run one time. Timer is all set up properly and all, it just never runs on the next timer1_elapsed event?!?!? any ideas on what to check.

  • 13 years ago

    Some things I would check are:

    1. Are you using a System.Timers.Timer (as oposed to a System.Windows.Forms.Timer timer)?
    2. Have you set the interval property?
    3. Have you started the timer by calling the Start() method / set the enabled property to true?



  • 13 years ago

    Do you want to Learn Sharepoint ???

    Learn Share Point freely

    Do you want to learn PHP/.NEt/JAVA/ERP/SAP/...... ???

    Download EBooks Freely in .pdf,.chm formats and ready for interview questions....

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.”