General discussion

Locked

vb6 web browser form

By chainsawz ·
I have vb6 web browser form that displays various html pages. When a user
clicks on a link (to what I will call the "destination page") within the
html page the web browser form's BeforeNavigate2 event is fired and code
within that event loads and shows a regular vb form. The "destination
page" contains javascript that is supposed to send the browser back to the
original page which has the link the user clicked, but instead the web
browser form displays a "404 File not found" error page. I can't figure out the problem...any ideas??

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

vb6 web browser form

by nikki96 In reply to vb6 web browser form

Are you sure the script is looking for the right file? Paths can be relative or absolute. If having problems, set the path to an absolute path (absolute from server home) or to a full url.
So for example if you are looking for test.html which is inyour home dir on the server, set the location to "/test.html" not "test.html". Or to http://myHost.com/test.html or http://www.myHost.com/myDir/test.html.

Collapse -

vb6 web browser form

by chainsawz In reply to vb6 web browser form

Thanks for your help!

Collapse -

vb6 web browser form

by chainsawz In reply to vb6 web browser form

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums