troubleshooting Question

Capture key presed inside a sub

Avatar of sambha03
sambha03 asked on
Visual Basic Classic
19 Comments1 Solution229 ViewsLast Modified:
How can i wait till R or spacebar is pressed?
I need something that does the following:

do while A>B

Do nothing until "r" or spacebar is pressed.
if "R or r" then ....
if " " then ....

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros