Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 20,031 times

Related Categories

Display HTML Help from a Message Box

When using a HTML help file, you will obviously want to be able to display certain pages or sections. This code shows you how to display a topic in the help file from a Message Box

You need to have a compiled html help file saved as C:\TestHTMLHelp.chm, a window called Main, and a topic mapped to ID 1010. Click here for information on how to do this.

MsgBox "Test Error Message Text.", _
    vbOKOnly + vbExclamation + vbMsgBoxHelpButton, _
    "Test Error Message", _
    "C:\TestHTMLHelp.chm" & ">Main", 1010

James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.

Comments