0

Please help me. I have design my help content ĩ̷̊ñ a html file. I want to display it as soon as the help button is click. The html doc is ĩ̷̊ñ my bin folder, how can I call it, wen it is being click. •̸ŤђαϞĸs ĩ̷̊ñ advance

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by Maligui
0

just add web browser control to your form and use this code

webbrowser1.navigate(application.startuppath & "\a.html")

it will load that file in your web browser control.

hope this will solve your prob.

Regards

0

•̸ŤђαϞĸs, but it is still giving this error. This program cannot display the webpage. Most likely you are not connected to the internet. Please help me. I put the html file ĩ̷̊ñ my bin folder.

0

this code is working fine for me. i am using vs2010

     WebBrowser1.Navigate("C:\Users\JUNAID\Desktop\a.html")

Regards

0

Be sure you have the HTML file Build Action is set to Content, and that the Copy To Output is set to Copy Always or Copy If Newer.

webbrowser1.navigate(application.startuppath & "\NameOfHTMLFile.html")

Note: The file may also have a file extension of .htm instead of html.

Edited by Maligui: Added Information

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.