Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Timer Control

Posted on 2007-04-08
8
Medium Priority
?
229 Views
Last Modified: 2010-04-30
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
Comment
Question by:mustish1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18873151
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
 
LVL 67

Expert Comment

by:sirbounty
ID: 18873155
0
 

Author Comment

by:mustish1
ID: 18873164
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's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 18873169
Are you working in VB6 or one of the Office applications?  It doesn't exist in Office VB...
0
 

Author Comment

by:mustish1
ID: 18873171
In VB6
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 2000 total points
ID: 18873173
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
 

Author Comment

by:mustish1
ID: 18873176
Ah. Thank You Sir Bounty.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18873247
Glad I could help! :^)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question