FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Helpindex and winseven
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Helpindex and winseven
Posted: Mon Nov 24, 2014 06:23 PM

the help not run on winows seven ,

SetHelpFile("test.chm")

....

MENUITEM i18n("help") ACTION HelpIndex()

It open the window help file but then the user must press the HOME button to show the help
the test.chm have only a page

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 711
Joined: Thu Oct 06, 2005 09:57 PM
Re: Helpindex and winseven
Posted: Tue Nov 25, 2014 05:55 AM

Funciona perfectamente en W7. Yo tengo añadida esta función:

FUNCTION HelpIndex( ) // activa F1
local cFich := "C:\silvio\test.chm" // path completo

RETURN WinExec ( "HH " + cFich )

Un saludo



Manuel
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Helpindex and winseven
Posted: Tue Nov 25, 2014 07:48 AM

thanks now run...ok

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Helpindex and winseven
Posted: Fri Jan 31, 2020 01:09 PM

Hello,
Thank you for your help.
Best regards,
Otto

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Helpindex and winseven
Posted: Fri Jan 31, 2020 03:22 PM

Hello,
in my program:
SetHelpFile("our Helpfile")

as my helpfiles are online I changed
help32.prg
static function IsHelpFile( cHelpFile )
local lReturn := .F.
return lReturn
//-----------------------------------------------------------------------//

FUNCTION HelpIndex( ) // activa F1
local cHelpFile := GetHelpFile()
? cHelpFile //here I start online help
RETURN //WinExec ( "HH " + cHelpFile )

Otherwise I get a warning if the file is not present.
Thank you and best regards
Otto

Continue the discussion