I try to create a very simple application with no window.
There is a timer created in the code.
I try to use AddHandler to send the action of the Timer to a method called FTP_registre, but I get and error “This item doesn’t exist”.
In fact when I try to write Temporitzador.Action I have no AutoComplete, so I suppose the error is here. But I have AutoComplete when I set properties (Enabled, Period)
This is the code:
[code]Dim Temporitzador as new Timer
Temporitzador.Enabled = True
Temporitzador.Period = 60 * 60 * 1000