mustish1
asked on
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
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
Pic of the timer control...http://www.softlookup.com/tutorial/vb/11cce08.jpg
ASKER
Thanks. I try to find in the components
1.Microsoft Timer Control
2. Timer Control
I didnt find any of them in it
1.Microsoft Timer Control
2. Timer Control
I didnt find any of them in it
Are you working in VB6 or one of the Office applications? It doesn't exist in Office VB...
ASKER
In VB6
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ah. Thank You Sir Bounty.
Glad I could help! :^)
You need to remove the apostrophe to uncomment and make the code valid, of course...