Help files (OpenInsight 32-bit)
At 08 FEB 2012 03:20:29PM Jim Vaughan wrote:
If I open OI from an UNC path (OI is installed on a server), none of the help works correctly. The help file opens but the help text does not display. I get a message that says "Navigation to the webpage was canceled"
To reproduce, open OI go to help and choose contents.
At 08 FEB 2012 03:32PM Jim Vaughan wrote:
Equally this code does not work if OI is accessed via unc path and is installed on a server.
Subroutine Tactic_Help(Action,Add_Data)
* visim jrv 11-13-96 * * calls winhelp with action * * see winapi for action types *
Declare Function Utility
Help_File = "WTAC.hlp"
Ret_Val = Utility("RUNHELP", Help_File, "MAIN_TACTIC":@fm:Action:@fm:Add_Data)
Return
Get an error that says "Cannot display this help file. Try opening the help file again, and if you still get this message, copy the help files to a different drive and try again"
I installed the MS fix from here to allow Windows 7 to access old style helpf iles http://www.microsoft.com/downloads/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844-008e02b32a2c
Jim R Vaughan
At 08 FEB 2012 05:02PM Matthew Crozier wrote:
We have a note about this on our forum:
As a result of installed security upgrades to Windows (specifically security update 896358, security update 840315, or Windows Server 2003 Service Pack 1), compiled help files residing on a UNC path will no longer work. This affects Windows Server, XP, Vista and Windows 7.
The following page describes the problem: http://support.microsoft.com/kb/896054
The fix is to add additional items, UrlAllowList to the registry fix file. Unfortunately the entries are specific to the site. I have included an example below where the UNC path to OpenInsight is \\THESERVER\Applications\Oinsight. This has to be done for each workstation that accesses OpenInsight.
Note that it is required in two places and note also the doubling of the directory separators.
Note that this is an example only - do not just cut and past as you will need to make changes specific to your site
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions] "MaxAllowedZone"=dword:00000001 "EnableFrameNavigationInSafeMode"=dword:00000001 "UrlAllowList"="\\\\THESERVER\\Applications\\Oinsight;file:;" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions] "MaxAllowedZone"=dword:00000001 "UrlAllowList"="\\\\THESERVER\\Applications\\Oinsight;file:;" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WinHelp] "AllowIntranetAccess"=dword:00000001
If you also need to allow access to help files stored in another directory, for example, \\THESERVER\Applications\AnotherApplication, then the entries would need to be:
"UrlAllowList"="\\\\THESERVER\\Applications\\Oinsight;\\\\THESERVER\\Applications\\AnotherApplication;file:;"[/size] An alternative, if you trust everything in the Applications directory, the entries would be: "UrlAllowList"="\\\\THESERVER\\Applications;file:;"[/size] Finally, there is at least one program out there that makes it easier. Doing a google search on HHReg will find it, however we cannot endorse it's use. Use it entirely at your own risk. You will need Administrator rights to update the registry either manually or using a program. HTH, M@ [img]http://www.vernonsystems.com/images/logo_main_ani.gif[/img] </QUOTE> —- === At 08 FEB 2012 07:09PM Jim Vaughan wrote: === <QUOTE>OK thanks. Let me give this a try. Jim R Vaughan www.waterloo-software.com </QUOTE> —- === At 10 FEB 2012 03:37PM Jared Bratu wrote: === <QUOTE>Matthew's post is correct and should resolve the issue. You can also see the Revelation Software recommended solution by accessing this knowledge base article on the issue. </QUOTE> —- === At 10 FEB 2012 05:32PM Jim Vaughan wrote: === <QUOTE>This fixed the issue with the Revelation Open Insight help files. It did not fix the issue with the .hlp file, I can not get Utility("RUNHELP" to open the help file when OI is installed on a server and accessed from a client. Jim R Vaughan www.waterloo-software.com </QUOTE> —- === At 14 FEB 2012 12:02AM Jim Vaughan wrote: === <QUOTE>Does anyone have idea how to fix the problem with the Utility Runhelp problem I am having (for problem description see above)? Jim R Vaughan www.waterloo-software.com </QUOTE> —- === At 14 FEB 2012 12:38AM bshumsky wrote: === <QUOTE> <QUOTE>This fixed the issue with the Revelation Open Insight help files. It did not fix the issue with the .hlp file, I can not get Utility("RUNHELP" to open the help file when OI is installed on a server and accessed from a client. Jim R Vaughan www.waterloo-software.com</QUOTE> Jim, is the machine that's having the problem accessing the help running Vista or Windows 7? I see a Microsoft article that might relate to what you're seeing here. EDIT: Sorry, I see you already referenced that Microsoft fix in the first post… - Bryan Shumsky Revelation Software, Inc. </QUOTE> —- === At 14 FEB 2012 12:39AM Jim Vaughan wrote: === <QUOTE>Yes, I have the correct stuff installed. Windows 7 btw. Jim R Vaughan www.waterloo-software.com </QUOTE> —- === At 14 FEB 2012 12:51AM Jim Vaughan wrote: === <QUOTE>I can send you the help file if you would like to test this. The code that calls the help file is shown above. Jim R Vaughan www.waterloo-software.com </QUOTE> —- === At 14 FEB 2012 09:21AM Sean FitzSimons wrote: === <QUOTE> <QUOTE>I can send you the help file if you would like to test this. The code that calls the help file is shown above. Jim R Vaughan www.waterloo-software.com</QUOTE> Jim, You can email it to me at sean@revelation.com and I can test whether I can run it. Sean FitzSimons Revelation Software </QUOTE> —- === At 14 FEB 2012 12:41PM Jim Vaughan wrote: === <QUOTE>OK will do, run from a server and just run Tactic_Help with no parameters. Jim R Vaughan www.waterloo-software.com </QUOTE> View this thread on the Works forum...