469,594 Members | 2,111 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,594 developers. It's quick & easy.

View Contents of CHM file within .NET app?

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
Nov 17 '05 #1
2 1911
Jon Pope wrote:
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:@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.

--
Oliver Sturm
Developer Express Inc.
Nov 17 '05 #2
You rock. That did the trick.
Cheers, Jon
"Oliver Sturm" <ol*****@devexpress.com> wrote in message
news:xn***************@msnews.microsoft.com...
Jon Pope wrote:
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:@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.

--
Oliver Sturm
Developer Express Inc.

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Pete Wason | last post: by
6 posts views Thread by adirajuv | last post: by
3 posts views Thread by Guadala Harry | last post: by
2 posts views Thread by skijor | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.