Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 9th, 2004, 12:40 AM
Authorized User
 
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiled HTML Issue

Hi,
I've created a CHM file, which is used in my webapplication for providing help for the individual screens.

On each of the webpage, am invoking the CHM file to show help specific to that page. I'm using Window.Open(<path>), to show up the help file.

In my development environment, it works fine. But recently after deploying to the client's server, the window was opening but the contents were blank. In otherwords the CHM file is not opening up.

The code to open the .CHM file is -

window.open('ms-its:http://localhost/webApp/CONTENTHELP.Chm::/xd1s.htm')

The above code works fine in my development machine, but not on the client's server.

Is there something else that I need to copy or register in the client's server. Any guidance on this is much appreciated.

TIA
Praveen

 
Old September 9th, 2004, 03:13 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Instead of localhost give server IP address.

 
Old September 10th, 2004, 01:25 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

I too have the file refering problem, when I upload, can I know what is the link to be given to get the image file which is at the subfolder

 
Old September 10th, 2004, 02:29 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

you should use this

window.open('ms-its:http://../webApp/CONTENTHELP.Chm::/xd1s.htm')





Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
 
Old September 10th, 2004, 03:35 AM
Authorized User
 
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried the methods posted by "Santhi" & "quazi_nomi". It doesn't seem to resolve the issue.

I searched for hh.exe in system32 folder and it exists.

Are they any DLLs that I need to install to make this work??



 
Old September 10th, 2004, 04:11 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Try this
window.open('ms-its:CONTENTHELP.Chm::/xd1s.htm')

Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
 
Old September 10th, 2004, 06:30 AM
Authorized User
 
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your replies Numan, but without giving any kind of address, how will the url present in the window.open by any means open up. It's sound so strange for me. Can you please elaborate on your suggestion.

 
Old September 10th, 2004, 10:02 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I pulled this up, not sure if it will help you.

http://www.helpware.net/htmlhelp/linktochm.htm

Snib

<><
 
Old October 12th, 2004, 04:20 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Vasudavan,
  Did you ever fixed the problem you had. we are having the same problem at our place.
  In one of our web application, We have been using the following URL to access CHM files and any topic iniside the chm file. But, now it suddenly stopped working. We are suspecting the windows updates for this.

 ms-its:http://servername/filename.chm
 and/or
 ms-its:http://servername/filename.chm::/htmlfile.htm

Have you found any workaround for this issue?

Thanks
Babu

 
Old August 16th, 2006, 07:29 AM
Registered User
 
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all.
Does anybody know how to open Index tab of the .chm file from the command line? When simply .chm file is passed, it opens the last viewed tab (Contents or Index). But I want to open Index (or Contents) tab each time the .chm file is opened.
Thank you very much.
B.






Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tags issue.. atulshin XSLT 2 October 21st, 2008 03:57 AM
XML Transformation - General HTML Issue tclotworthy XSLT 2 February 27th, 2007 03:42 PM
XML to literal HTML Issue kwilliams XSLT 3 October 4th, 2005 08:35 AM
Issue sending HTML file as attachment in EMail kdhawan_forum VB Components 0 April 8th, 2005 02:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.