473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2062
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ImraneA | last post by:
Hi there Got a interesting problem (depends on a point of view.....). Background :- Agent (within Domino) is run daily basis which extracts data from Domino Notes application to SQL Server...
5
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo...
6
by: adirajuv | last post by:
I wrote a program in C long time ago and I lost my code and all the intermediate files. All I have is the "exe" file that was generated when I executed it. Can the code be retrieved from this exe...
3
by: Guadala Harry | last post by:
Is it possible to view the contents of an external CSS style sheet that is referenced from any web page being viewed in the browser (IE6)? If so how? The css file physically lives on the server,...
1
by: ma740988 | last post by:
Trying to some of my reading on file manipulation (ifstream/ofstream/fstream) into action. So now consider. # include <iostream> # include <fstream> # include <cstring> # include <sstream> ...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
0
by: ramyass | last post by:
Hi all, I have SQL Server 2000 installed on my PC. A database has been created and i need to view the contents of LDF file. It would be great if any one of you let me know how to view the contents...
6
by: Max58kl | last post by:
Hi I am trying to allow the user to view the contents of a txt file via the command line. When I run the following script, pressing enter after naming my txt file (which is in the same directory...
2
by: skijor | last post by:
For a page that display's a catalogue of items in table format. If the number of rows extends below the view, in some browsers (safari, firefox) the page shifts to the left a little bit. It's...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.