467,225 Members | 1,364 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

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

NDoc question.

Hi,

I have created a .chm file using NDoc 1.3.1 and Visual Studio.NET 2003.
I have copied this .chm file, for example "help.chm", in to another PC and
when I tried to open it, I couldn't. I can open it on the PC in which the
..chm
file had been previously created. I couldn't figureout why. However, I am
assuming that it needs other interdependent files.

Can we create a standalone .chm file at all. Kindly let me know.

Cheers,

Naveen.
Nov 17 '05 #1
  • viewed: 1168
Share:
5 Replies
> I have created a .chm file using NDoc 1.3.1 and Visual Studio.NET 2003.
I have copied this .chm file, for example "help.chm", in to another PC and
when I tried to open it, I couldn't.


What happens? There are some known issues with CHM files (since
they're basically just HTML pages), relating to security issues. Did
you get an error message? Nothing at all? Does it work on a third PC?
Maybe that second PC you're tyring to open them on is screwed up
beyond repair......

I have no problem at all sharing CHM files created by NDoc with tons
of other PC's - works like a charm.

Marc
Nov 17 '05 #2
Are you building the chm on a server share? The HtmlHelp compiler can
get itself confused if you do; the chm looks normal, but the links from
the table-of-contents point to the remote server rather than the pages
inside the chm...

Nov 17 '05 #3
Hi,

I was trying to open the .chm file from the share folder.
For example, lets say name of the PC in which .chm file has been created
is
"MYPC", and the share folder is "SHARE". In another pc, lets say "PC2" ,
I have opened the windows explorer and browsed to the share folder on
"MYPC",
" \\MYPC\SHARE ". Then I was trying to view the .chm file from this share
folder.

Then on the left-hand pane of the Help displays.."Page cannot found"
message.
I tried copying the whole folder containing all the .html files and then
repeated the same process, but same result.

However, when I copied the .chm file from the share folder in to a local
folder
of "PC2" and ran the .chm file from that local folder, it worked :)

I was wondering, why can't we run .chm files from the share folder.
I'm just curious.

Cheers,

Naveen.
"ks*****@hotmail.com" wrote:
Are you building the chm on a server share? The HtmlHelp compiler can
get itself confused if you do; the chm looks normal, but the links from
the table-of-contents point to the remote server rather than the pages
inside the chm...

Nov 17 '05 #4
> I was trying to open the .chm file from the share folder.

Yes, there is a known issue with a security fix that MS had released a
while ago - it would prevent HTML pages (and that's what the CHM pages
are) from being loaded from a network share by default.

Try copying the CHM onto the target machine locally (just for the sake
of testing) - does it work?

You'll need to find that fix for the fix ;-) (sorry, can't help -
that's something our IT department handled without telling us
developers what they did, exactly).

Marc
================================================== ==============
Marc Scheuner May The Source Be With You!
Berne, Switzerland m.scheuner -at- inova.ch
Nov 17 '05 #5
Naveen,
I was wondering, why can't we run .chm files from the share folder.


Have a look at this article for more information and workarounds:

http://www.grainge.org/authoring/ms0...026_update.htm

--
Pete (Microsoft Help MVP)

Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ian Harding | last post: by
2 posts views Thread by David Anderson | last post: by
7 posts views Thread by Ash Moollan [InfoMaster] | last post: by
11 posts views Thread by julien | last post: by
reply views Thread by Pakmanoncrack@gmail.com | last post: by
reply views Thread by Thomas Klein | last post: by
7 posts views Thread by Lonifasiko | last post: by
10 posts views Thread by Brian Richards | last post: by
8 posts views Thread by Kuldeep | last post: by
4 posts views Thread by Peter Lykkegaard | last post: by
reply views Thread by Adict | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.