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
 
Back
Top