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

How to make my app press one of its own command buttons

I want my application to wait a certain amount of time for user input (30 sec) and if nothing is chosen I want the app to press the button.
How do I do this?
0
rbender
Asked:
rbender
  • 2
1 Solution
 
mcriderCommented:
Add a timer to your form and set the Interval property to 30000, then in the timer event, put the following code:

Timer1.enabled=False
'Put your BUTTON Subroutine call Here


Cheers!
0
 
mcriderCommented:
Don't forget to enable the timer...

Cheers!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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