View Contents of CHM file within .NET app?


J

Jon Pope

Is it possible to view the contents of a CHM file within IE? I've attempted
to do this by right-clicking on a CHM file then selecting "Open With..." and
finally selecting "IE", but nothing happens.

What I'm attempting to do is allow the user to open an MDI child within
their .NET app and view the help file within an embedded IE browser control,
rather than launching an external window. But since I can't seem to open
the CHM file within IE, I can only assume that it won't be vieweable within
the IE control. Is there another way I can achieve this?


Cheers, Jon
 
Ad

Advertisements

O

Oliver Sturm

Jon said:
Is it possible to view the contents of a CHM file within IE? I've
attempted to do this by right-clicking on a CHM file then selecting "Open
With..." and finally selecting "IE", but nothing happens.

You need to use specially constructed URLs to access the CHM content from
IE. Try this, for instance (assuming your Windows dir is at c:\windows):

mk:mad:MSITStore:C:\windows\help\ntcmds.chm::/path.htm

This should show you the page on the PATH environment variable from the
standard Windows help file.
 
Ad

Advertisements

J

Jon Pope

You rock. That did the trick.


Cheers, Jon


Oliver Sturm said:
You need to use specially constructed URLs to access the CHM content from
IE. Try this, for instance (assuming your Windows dir is at c:\windows):

mk:mad:MSITStore:C:\windows\help\ntcmds.chm::/path.htm

This should show you the page on the PATH environment variable from the
standard Windows help file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top