Try using this code:

Code:
WebBrowser1.Stop