This content has been marked as final. Show 8 replies
when you say 5 seconds. Is that the time it takes for the whole .chm window to load or just for the TOC to display?
How about other .chm files on the PC. How long are these taking to load?
Have you tried compiling the .chm with the setting Optimise CHM file size OFF?
The time is taken from pressing F1 to showing the home page.
When F1 is pressed, I can see the help window is opened but without any content inside (blank).
Then it takes a few seconds to show up the content (the home page).
It is the same no matter the help file has TOC or not.
If I open a chm from other applications e.g. the help file in Windows\help directory, it takes less time to open (when comparing the same file size).
I didn't use the optimize settings since normally the help files I generate are not too big.
But still it takes quite long to open it up and that makes me wondering...
Thanks for your help.
Hi Karen. I've experienced instances in the past where a firewall can have this effect. Adding the name of the file to the "trusted" applications does the trick.
Is this behaviour only when the help is opened from the application?
What happends if the help file is opened standalone i.e. by clicking on the .chm file?
It seems to me that if I open it directly it takes almost the same time as press F1 from the application.
Maybe is a little bit quicker but a blank window is also shown to me before all the things are loaded up.
I will also try the firewall one very soon.
Might also be worth testing opening the file on different PCs to see if there any differences.
Oh, I tried that. No matter in a faster or slower pc, it takes the proportional amount of time to load up.
So I thought it must be something in the html cause the delay.
Also, I have put the help file in the exception list of my fire wall, it has no difference...
Umm! I think this may be down to the makeup and content of the CHM. You mention you use DHTML. Do you have a lot of these? What do they contain? Have you tried making a copy of a topic containing the DHTML, removing it and recompiling to see if that makes a difference?