Page 1 of 1

Helpindex and winseven

Posted: Mon Nov 24, 2014 6:23 pm
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

Re: Helpindex and winseven

Posted: Tue Nov 25, 2014 5:55 am
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 )

Re: Helpindex and winseven

Posted: Tue Nov 25, 2014 7:48 am
by Silvio.Falconi
thanks now run...ok

Re: Helpindex and winseven

Posted: Fri Jan 31, 2020 1:09 pm
by Otto
Hello,
Thank you for your help.
Best regards,
Otto

Re: Helpindex and winseven

Posted: Fri Jan 31, 2020 3:22 pm
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