Stopping other subs from running while in a Sub

Posted by Bigfatty on Stack Overflow See other posts from Stack Overflow or by Bigfatty
Published on 2010-05-22T19:05:08Z Indexed on 2010/05/22 19:10 UTC
Read the original article Hit count: 168

Filed under:
|

Is there a way to stop other subs from running while in a separate sub.

for instance say your in the sub CreateNumber()

and the subs are setup like

CreateNumber()
AddNumber()
DeleteNumber()

Is there a way to be in CreateNumber() and call a function to stop AddNumber from running after creaetNumber() is finished? i just want my program to sit there to wait for an event to happen.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about subroutine