Results 1 to 3 of 3

Thread: Stop

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    NJ
    Posts
    19
    Is there any way to stop a button's action once it has started? Thanks.

  2. #2
    Guest
    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

  3. #3
    Guest
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width