How to open an Html.file in VB.net

I want to open a helpfile wirtten in html which is located the same folder as VB.net source code

What command should I use?

davidlam8888Asked:
Who is Participating?
 
iboutchkineConnect With a Mentor Commented:
' The first argument is a Control object that works as the
' parent for the help dialog box.
Help.ShowHelpIndex(Me, "c:\myhelpfile.chm")

(You can also use a URL that uses forward slashes as separators.) The other method, ShowHelp,
is overloaded to provide access to different portions of the help document:

' Display the contents of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm")
' Display the index page of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm", HelpNavigator.Index)
' Display the search page of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm", HelpNavigator.Find)
' Display the help page for a specific keyword.
Help.ShowHelp(Me, "c:\myhelpfile.chm", "mykeyword")
' Display the help page for the specific topic #123.
Help.ShowHel (Me, "c:\myhelpfile.chm", HelpNavigator.Topic, 123)
0
 
GoodJunCommented:
shell(iexplore.exe "file.html")
0
 
davidlam8888Author Commented:
It does not work, file not found!
 Shell("iexplore" & "\help.htm")
0
 
GoodJunCommented:
give the full path to iexplore.exe and help.html
0
 
KarunSKCommented:
And don't forget a space between iexplore.exe and file.html !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.