NDoc question.

G

Guest

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.
 
M

Marc Scheuner [MVP ADSI]

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
 
K

ksdowns

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...
 
G

Guest

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.
 
M

Marc Scheuner [MVP ADSI]

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
 

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