I need some help with remote acces to a help file

  • Thread starter Thread starter Roy Chastain
  • Start date Start date
R

Roy Chastain

I have a program that is resident in the web server. It is one-touch installed on the client system and it is activated via URL
so that it runs in IEEXEC.

This program has a .chm file associate with it. The problem is
1) - Every time I try to reference the .chm, I get a dialog warning me that .chm files might not be safe and ask if to continue
2) - When I do continue to access the .chm, none of the positioning to the different TAB (index, search, contents) work, but if
the same program is run from a command line from the same directory, this positioning works.
3) - Of course opening the help with a position to a keyword does not work either.

Question.
What is the best method for utilizing help files when the help file is remote to the system the program is being run on?
 
Hi Roy,

From your description, the problem on displaying chm file you mentioned may
be caused by the clientside IE's security restriction for the remote files
(especially those executable files like chm, exe). Those certain functions
such as search, index may be restricted by the IE'S security setting.
Currently I think we can consider the following means:
1. I've seen some other ones download the remote chm file to the clientside
through network stream and then store the chm in the client temporary
folder or other place as a temp file and lanuch that temp file in the
application. Also, this will need the adjusting of the clientside security
setting (CAS for .net app).

2. There're some 3rd party tools which can help converting chm files to
html based help document. If possible, you can also considering use html
help documents instead, that'll be much more convenient when displaying at
clientside.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Steven,
Thanks for the suggestions. Can you provide more information as to item 1? (IE 'network stream')
FYI, as part of our one touch install we have set our code to full trust. (This is required for several things that we are doing.
The full trust is being granted by matching to the key we used to sign the assemblies with.) Flash of brilliance - Would signing
the .chm make any difference??
 
Hi Roy,

As for the "Downloading the chm file via network stream", I just means that
we can use some buildin internet components such as HttpWebRequest or
WebClient class to download the chm file from serverside and then store it
in the clientside (maybe in the current user's internet temporary folder).
The WebClient class is better since it encapsulate the detailed process and
simulate the IE's download operation. I've made a simple test on my local
side , and i can correctly download a chm file from remote site and store
in my local internet temporary folder in a winform app.

HTH. Thanks.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top