?
Solved

Timed Event

Posted on 2003-02-24
2
Medium Priority
?
127 Views
Last Modified: 2010-04-07
i have a app that opens a word document

i want to sendkeys to it but i need to send them afer 10 seconds

how would i do that
0
Comment
Question by:Marcusw
[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
2 Comments
 
LVL 11

Accepted Solution

by:
Steiner earned 200 total points
ID: 8008588
Put a timer on your form, interval 10000.
Start the timer right after opening the document. In the Timer-event stop the timer and send your keys.

Greets
Steiner
0
 
LVL 1

Expert Comment

by:tgraffham
ID: 8009140
As Steiner says, stop the timer once you're ready to send your keys.  To stop the timer, use:

Me.TimerInterval = 0

in your form code BEFORE you do the rest of your process.  Otherwise, it may try to start the process again.

Tim
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 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