Is there any way to stop a button's action once it has started? Thanks.
Printable View
Is there any way to stop a button's action once it has started? Thanks.
If you are using any kind of loop, you can have a Boolean Variable, and check to see if it is True. If it is then stop the loop with Exit For or Exit Do or something.
Thats just about the only way unless you are using the Web Browser Control or the Inet Control, then you can just do.
Code:'browser
WebBrowser1.Stop
'Inet
Inet1.Cancel
Here is the link to a thread that shows an example of what you want to do.
http://forums.vb-world.net/showthrea...threadid=26344