WebBrowser control won't access Non-local pages 
Author Message
 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



Tue, 27 Mar 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Webbrowser control: how to send local page with bookmark

2. Apps w/ MS Inet Xfer Control won't run on non-development PCs

3. Creating Text File on Client's Local Machine When Accessing Web Default Page

4. Webbrowser Control Won't Die

5. ASP page won't display text from MS Access Memo field

6. WebBrowser Ctl: save web page to local machine

7. tab control won't hide pages

8. Asp file won't work on local server

9. ADO won't let me update a local recordset

10. Textbox which won't allow non-numeric

11. Can't access site via WebBrowser control

12. Help: prevent webbrowser ctrl getting access on local file system

 

 
Powered by phpBB® Forum Software