Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS HTML Help Workshop modifies my paths

Status
Not open for further replies.

gaudibri

Programmer
Dec 6, 2002
19
FR
Hi everybody,

I try to make my own .chm HTML help files with MS HTML Help Workshop (v4.74). All is well except when I reference files which are not in the same folder as .chm's one : for example : my ccs file and all my img files.
When I view the html file in IE (or preview it in HW) it is correct(viewing the source show me that the paths are those I typed) but when I run the .chm file, no file are found and I can see in the source that the paths are modified (\ for /, % for spaces, etc...).

Has someone already had this problem. Thanks for helping.
 
There is a dedicated forum here, "Microsoft: WinHelp and HTML Help authoring systems"

Try specifying the file location as relative to the folder containing the hhp file:

Eg, if a subfolder, use . to reference the current folder:

<img border=&quot;0&quot; src=&quot;.\Images\ToolTip.gif&quot; width=&quot;195&quot; height=&quot;122&quot;>

If on the same level or higher use .. to go up the folder tree. If the file is in the same folder as the hhp file then just use the filename, no path.

Paul Bent
Northwind IT Systems
 
Thank you for the answer. I apologize for threading in a wrong forum.

I already used the relative syntax : ..\folder\file
but it changes nothing.
 
Sorry but I don't what the problem is. I use relative paths and everything works fine. It's normal for backslashes to be replaced with forward slashes at compile time.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top