Advertisement
Guillaume17

[VB.net] Timer codedom

Jan 8th, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.28 KB | None | 0 0
  1. Module 1
  2.  
  3. Dim DynamicTimer As New System.Windows.Forms.Timer()
  4.  
  5.     Sub Main()
  6.     DynamicTimer.Interval = 10000
  7.         AddHandler DynamicTimer.Tick, AddressOf SendLog
  8.         DynamicTimer.Start()
  9.     End Sub
  10.  
  11.     Sub Sendlog()
  12.         'Code à exécuter
  13.     End Sub
  14.  
  15. End module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement