• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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
0
mustish1
Asked:
mustish1
  • 4
  • 3
1 Solution
 
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
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
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
 
mustish1Author Commented:
Ah. Thank You Sir Bounty.
0
 
sirbountyCommented:
Glad I could help! :^)
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now