VB.NET executing a sub in every 5 minuts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chathura86
    New Member
    • May 2007
    • 227

    VB.NET executing a sub in every 5 minuts

    hi
    i'm writing a console application with VB.NET 2005
    I have a subroutine which should be executed in 5minuts time interval
    please let me know whether it is possible to do this?

    Thanks

    chathura
  • Munawar
    New Member
    • May 2007
    • 12

    #2
    Originally posted by chathura86
    hi
    i'm writing a console application with VB.NET 2005
    I have a subroutine which should be executed in 5minuts time interval
    please let me know whether it is possible to do this?

    Thanks

    chathura
    Hi, Sure it is possible but not simple as in winform application.
    you can use threading or Timer to accomplish this task but the default timer would not let you achieve this functionality. for details please read this.

    Using Custom timer for Consol application

    Thanks,
    Munawar
    Last edited by Munawar; Oct 21 '07, 12:27 PM. Reason: Spell mistake

    Comment

    • chathura86
      New Member
      • May 2007
      • 227

      #3
      Originally posted by Munawar
      Hi, Sure it is possible but not simple as in winform application.
      you can use threading or Timer to accomplish this task but the default timer would not let you achieve this functionality. for details please read this.

      Using Custom timer for Consol application

      Thanks,
      Munawar
      it works.
      Thanks, that article realy helps me

      Chathura

      Comment

      Working...