Sunday, November 14, 2010

How do i load a html file with internet controls in VB 6, located in the same folder as my application?

I am making a 'Help' window as part of a program i am putting together in visual basic 6, the form will simply load the help file which is a html file.



i originally tried ';WebBrowser1.Navigate (';Help.html';)'; although when i tested the program i got a message saying ';Navigation to the webpage was cancelled'; where the html document should have loaded.How do i load a html file with internet controls in VB 6, located in the same folder as my application?
I think you should use like this

webbrowser1.navigate2 app.path %26amp; ';\Help.html';

No comments:

Post a Comment