Helpindex and winseven

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
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: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Helpindex and winseven

Post by Silvio.Falconi »

thanks now run...ok
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
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

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
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

********************************************************************
Post Reply