Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is it possible to restart a sub part way through its process??

 

I have a button with the click event and in there i have a message box. If the user presses yes, I would like the sub to start again and if the user clicks no, to exit sub.

 

The exitting sub is fine....just stuck on how to restart it...if it is possible??

 

 

Thanks

 

Steve

  • Leaders
Posted

Can't you just set up a loop that goes to the beginning (although you'd probably have to get out of your other blocks of code)

'beginning
Do
'code here
Loop While NoPressed

:)

or GoTo *cringe*.

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...