Hi!

I add a time and date with my program

Private Sub Timer1_Timer()
timelbl.Caption=Time
datelbl.Caption=Date
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

thanks..

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.