I found this on chm files: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q245/5/72.ASP&NoWebContent=1
long link, but interesting.. Jim
Dennis Fleming wrote:
Sorry Jim,
Yep, Launch. Wasn't quite awake yet when I sent my post. I'll check, but I believe all IE5 or higher.
Short piece of code that does my help processing is below. Works for 98% of customers (including network users). I'm thinking it may be tied into how RBase "sees" network drive in the mapping command. I'll try Troy's suggestion.
Dennis
-- HELPFORM.EEP CPMS Forms Help SET VAR vchkfile =(CHKFILE("CPMS.CHM"))
IF vchkfile = 0 THEN
PAUSE 2 USING "CPMS Help file not found" AT CEN CEN
RETURN
ENDIF
SET V xxform =(SGET(.#FORM_FORMNAME,15,1))
...
SET V xxftable = .xxform
IF xxftable = "CPMSMenu" THEN
LAUNCH "CPMS.CHM"
ELSE
SET VAR vhelpurl = helpurl, vhelpjmp = helpjmp IN helplkup +
WHERE helpkey = .xxftable
IF vhelpjmp IS NULL THEN
SET VAR vhelpurl =(.vhelpurl + ".htm")
ELSE SET VAR vhelpurl =(.vhelpurl + ".htm" + "#" + .vhelpjmp) ENDIF
SET VAR vcpmschm = +
("mk:@MSITStore:" + (CVAL("CURRDIR")) + "\Cpms.chm::/" + .vhelpurl)
LAUNCH .vcpmschm
ENDIF
RETURN
At 10:02 AM 10/6/2003 -0400, you wrote:
Dennis
Curious, why you are using the zip command instead of the LAUNCH command.
Is there a difference in operating systems?
Are these user's file associations to the chm associated the same as the other people? On my XP machine they are described as Microsoft Help executable files and associated with: "C:\WINDOWS\hh.exe" %1
If I remember right, you need at least IE 5 for these to work correctly..
Jim Limburg
Dennis Fleming wrote:
RBase 6.5++
Using the Zip command, the Zip to my_help_file.chm works fine and context
sensitive Zips to Help topics also works fine except at a couple of
customers. A zip to the network drive "N" to the help topic for the Employee screen
"Employees.htm" looks like:
mk:@MSITStore:N:\CPMS\CPMS.CHM::/employees.htm
The error message in RBase is: "The specified file was not found". But it comes up fine in the user's Browser (Explorer). Any help
appreciated.
Dennis ***** Dennis Fleming IISCO http://www.TheBestCMMS.com Phone: 570 775-7593 Fax: 570 775-9797
Dennis Fleming IISCO http://www.TheBestCMMS.com Phone: 570 775-7593 Fax: 570 775-9797

