0
Answer

pass parameters to ElapsedEventHandler

Hi all, I defined a timer as Friend t_Timer As System.Timers.Timer t_Timer = New System.Timers.Timer() t_Timer.Enabled = True t_Timer.Interval = 10000 AddHandler t_Timer.Elapsed, AddressOf t_Timer_Elapsed Private Sub t_Timer_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) End Sub I want to pass a parameter(string or int paramater) to the t_Timer_Elapsed method. Can anyone please help me how to pass a parameter into t_Timer_Elapsed method. Thanks in Advance Radha