Sub termination in VB.Net

Joined
Jul 13, 2009
Messages
1
Reaction score
0
The question is related to Visual Basic 2008.
I have an user form with several buttons. Each button initiates one of several subs which will run several seconds to their end (telecommunication).
The macros are tested and run well.

I now want to be able to terminate the macro with ESC key (The sub must terminate but the form ramain open). During the programme run however, key entries are impossible.

Is this possible with System.Threading?

Thank you very much for any practical hints

Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top