
WebBrowser control won't access Non-local pages
Hello,
I'm working with VB5, learning edition. I created a form with a
WebBrowser control on it, and started it with a local HTML page like
"file://C:\vbasic\testpage.htm". The page display's O.K.
Now the problem : When I click an external link like
" http://www.*-*-*.com/ " it "goes thru the motions". Like
"WebBrowser_BeforeNavigate", "WebBrowser_DownloadBegin" and
"WebBrowser_DownloadComplete". It does not end with the
"WebBrowser_NavigateComplete" event but display's an error-message telling
me that the system could not find the Web-page. I expected it to pop-up a
connect-to-the-internet window (where you enter the provider's name and
your password), but it doesn't. Even with an already open connection (by
starting internet-explorer) the WebBrowser can't seem to find any of the
remote HTML-pages.
Does anyone have a clue ? I would have liked to RTFM, but even the
Help-file provided by MS itself does not tell me how the *&^%$& works (no
examples, just members, methods & events without allmost anything about how
they are linked together).
By the way, is there a way to retrieve the URLS contained in a HTML-page
from within a program. I mean, I can click all links & store them into an
array, but I would like to remove the human in this equation :-)
Greetings,
Rudy Wieser