Helpindex and winseven

Post Reply
User avatar
Silvio.Falconi
Posts: 7120
Joined: Thu Oct 18, 2012 7:17 pm

Helpindex and winseven

Post by Silvio.Falconi »

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 November 2023 - January 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
User avatar
Manuel Valdenebro
Posts: 706
Joined: Thu Oct 06, 2005 9:57 pm
Location: Málaga-España

Re: Helpindex and winseven

Post by Manuel Valdenebro »

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
User avatar
Silvio.Falconi
Posts: 7120
Joined: Thu Oct 18, 2012 7:17 pm

Re: Helpindex and winseven

Post by Silvio.Falconi »

thanks now run...ok
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Otto
Posts: 6401
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Helpindex and winseven

Post by Otto »

Hello,
Thank you for your help.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
Posts: 6401
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Helpindex and winseven

Post by Otto »

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Post Reply