Microsoft Office 2000/Visual Basic Programmer's Guide   

Using a URL to Open a Page in a Compiled HTML Help File

You can use a URL to open an HTML page in a compiled HTML Help file from Internet Explorer or an Office hyperlink. The kind of URL you use depends on which version of Internet Explorer users have installed, and whether the compiled HTML Help file is being opened directly from the file system or from an HTTP server.

When you are using Internet Explorer versions 3.x or later, you can open a specific HTML page contained in a compiled HTML Help file from the file system by using a URL in this format:

mk:@MSITStore:path\filename.chm::\page.chm

When you are using Internet Explorer versions 4.x or later, you can open an HTML page in a compiled HTML Help file from the file system by using a URL in this format:

its:path\filename.chm::/page.chm

For example, you can open the first page in the compiled HTML Help file installed for the Internet Explorer 4.0 or later Help system by using this URL:

its:c:\windows\help\iexplore.chm::/iexplore_welcome.htm

When you are using Internet Explorer 4.x or later, you can open a page in a compiled HTML Help file located on an HTTP server by using a URL in this format:

its:http://serverpath/filename.chm::/page.htm