I have a program which uses a Timer1_Tick sub. However, I would like to manually configure this Timer in a function.
For example,
However, when I try this method, I get an error under Timer1_Tick inside my function which says:Code:Private Function TestFunc() Timer1_Tick(whatever) Timer1.Interval = 100 End Function
What am I doing wrong with this?Argument not specified for parameter 'e' of 'Private Sub Timer1_Tick(sender As Object, e As EventArgs)
Please comment for any more information.Note that Timer1_Tick sub is in my code. However, if I remove it, I get an error saying Timer1_Tick isn't declared.




Reply With Quote
