Can't take credit.. that was MikeB that suggested the hh solution.
Come to think of it, it really makes good sense that you launch
the hh and feed it the parameters you want. Mike seems to be one
of those fellows who is completely down to earth and really knows
his stuff.

Dennis, I'm curious about what you are doing here..
What does the mk:@MSITStore stand for?

I have to admit, I'm not fully familar with chm's but I'm learning
as I go.

Jim Limburg

Dennis Fleming wrote:

Jim,

Yes, "hh" was the ticket. I see now that you need to launch the CHM before you can read the HTM.
I may be the only one on the list that needed this info, but thanks again.


Dennis
*****


At 03:15 PM 10/6/2003 -0500, you wrote:


If you are trying to launch a *.chm file, you will have to:

launch hh|mk:@MSITStore:YourHelpFile.chm::SomeSpecificHTMLFile.htm


----- Original Message ----- From: "Jim Limburg" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 2:12 PM
Subject: [RBASE-L] - Re: Stumped with ZIP




Dennis

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






Dennis Fleming
IISCO
http://www.TheBestCMMS.com
Phone: 570 775-7593
Fax:   570 775-9797





Reply via email to