Information générale
Titre:
Need ideas on Helpfiles (.chm)
Hi friends
we recently added context sensitive help to our application.its working fine in develop mode and runtime mode at office machines.but the problem is it does not work at client machines.i mean when u press F1 nothing happens.they could open .chm file from windows explorer but not from our application.seems foxpro lost connection with help file.
following is code from main.prg
DO CASE
CASE frmSession.Getcountry() = "AU" AND FILE('VipAu.chm')
SET HELP TO VipAu.chm
CASE frmSession.GetFlavour() = "NZG" AND FILE('VipGP.chm')
SET HELP TO VipGP.chm
CASE frmSession.GetFlavour() = "NZS" AND FILE('VipORTH.chm')
SET HELP TO VipOrth.chm
CASE frmSession.GetFlavour() = "NZM" AND FILE('VipMan.chm')
SET HELP TO VipMan.chm
CASE frmSession.GetFlavour() = "UK" AND FILE('VipUK.chm')
SET HELP TO VipUK.chm
ENDCASE
following is CODE from menu item
SET HELP OFF
SET HELP ON
IF TYPE('_SCREEN.ActiveForm.Name') = 'C'
IF _SCREEN.ActiveForm.Helpcontextid > 0
HELP ID _SCREEN.ActiveForm.Helpcontextid
ELSE
IF _SCREEN.ActiveForm.WhatsThisHelp
_SCREEN.ActiveForm.WhatsThisMode()
ELSE
HELP
ENDIF
ENDIF
ELSE
SET TOPIC ID TO
HELP
ENDIF
anyone has ideas how to resolve this.
many thanks
cheers
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement