[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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