I add a time and date with my program

Private Sub Timer1_Timer()
End Sub

but when i run the program..
i got "Compile Error, Cannot find project or library"
what's wrong on this?
how can i fix this..
help me please


I used the code above and it worked just fine. So, it could be any number of things, not all of them associated with your Timer control.

Did you set the timer interval to something other than zero? Are there other controls being used in your form or project? Did you check menu items Project/References or Project/Components to see if there are missing DLL's?