VB2005 WebBrowser.AllowNavigation Problem

S

Seb

Hi


Have a problem with my WebBrowser Class in VB2005

I have a page which I set and then need to disable browsing to any
further links. But cant seem to get my head around this small problem.

Once I tell the browser to navigate to my page it dose not load it up
but goes to the next command and disables browsing all together and dose
not load anything

is there a way to tell the wait until the page is loaded then disable
browsing ?


Dim URLString As String
URLString = "http://www.mywebpage.com"
WebBrowser1.Navigate(URLString)
WebBrowser1.AllowNavigation = False
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top