We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


Can a timer run while another application is running under VB?

jpf080698 asked
Medium Priority
Last Modified: 2010-05-03
I have a single word speech-recognizer running under Visual Basic 5.0. The word to be recognized should be spoken within a 3 seconds interval. By means of a timer, I would like to tell the user that the speech recognizer is recording and waiting for a word. How can the speech recognizer and the timer run in the same time? Can I use any ActiveX timer control?
Watch Question

Is there a reason you can't use the standard timer control built into VB5? That timer utilizes the standard Windows timer messages, which should be independent of what is happening in your speech recognition. When the timer expires your timer event will get triggered even if an ActiveX control or another program has the focus.

Hope this helps!


I could use the VB-timer as you said, but there is still a problem to solve:

the progression bar of the timer can't progress as long as the speech recognizer has the focus. How could I get the speech recognition and the progression bar run simultaneously?
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Why can't the progression bar of the timer progress as long as the speech recognizer has the focus? Lots of VB apps work this way, whether a separate process or not.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.