Timer Control

Hi: I try to find Timer Control or Microsoft Timer control in the component window but i didnt find any thing like that. Can any one please tell me how to i find the timer control also is this code is correct?

Private Sub Form_Load()
'Timer1.Interval = 1000
End Sub

Private Sub Timer1_Timer()
    If Time = #8:00:00 AM# Then
      'readExcelFile
   End If
End Sub
mustish1Asked:
Who is Participating?
 
sirbountyCommented:
Do you see the stop watch on your tool box?  The icon looks like the one in the link...Here's another image showing where it is...http://www.voxcommunications.com/sky/vbtoolbar_clock.jpg
0
 
sirbountyCommented:
Code is correct- the timer is on your tool box - looks like a stop watch.
You need to remove the apostrophe to uncomment and make the code valid, of course...
0
 
sirbountyCommented:
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
mustish1Author Commented:
Thanks. I try to find in the components
1.Microsoft Timer Control
2. Timer Control
I didnt find any of them in it
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Are you working in VB6 or one of the Office applications?  It doesn't exist in Office VB...
0
 
mustish1Author Commented:
In VB6
0
 
mustish1Author Commented:
Ah. Thank You Sir Bounty.
0
 
sirbountyCommented:
Glad I could help! :^)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.