IF !PEMSTATUS(goapp,"oHTMLHelp",5) lcSaveDir = SYS(5)+CURDIR() && save this directory CD (goapp.login_dev0) && location of the help files * Set up the help system here lcHelpFile = THIS.login_help+THIS.login_helpfile && ex: helpfile.chm * http://support.microsoft.com/support/kb/articles/Q234/2/25.ASP?LN=EN-US&SD=msdn&FR=0 *Useful Foxhhelp methods include: *goapp.FoxHelpDoMSDNCollection(String filename) - Instantiates an instance of HTML using the collection in the supplied filename. *goapp.FoxHelpDoActivateHelp(String filename) - Instantiates an instance of HTML using the Help file in the supplied filename. *goapp.FoxHelpDoContextHelp(String filename, Long dwData) - Instantiates an instance of HTML using the Help file in the supplied filename and context ID. *goapp.FoxHelpDoKeywordSearch(String filename, String keyword) - Instantiates an instance of HTML using the Help file in the supplied filename and performs a keyword search using the supplied keyword. * * Foxhhelp.exe is necessary for the help system * http://support.microsoft.com/support/kb/articles/Q194/1/96.ASP?LN=EN-US&SD=msdn&FR=0 RUN /N Foxhhelp.EXE /REGSERVER *IF thisisnotwindows2000 * Microsoft says not to run the html help on Windows 2000 * Help components are provided via windows service packs. * * RUN /N hhupd.exe * *ENDIF LOCAL ; oHelp1 oHelp1 = CREATEOBJECT("foxhhelp.foxhtmlhelp") && could use addobject goapp.ADDPROPERTY("oHTMLHelp") goapp.ADDPROPERTY("cHTMLHelp") goapp.oHTMLHelp = oHelp1 goapp.cHTMLHelp = 'goapp.oHTMLHelp.foxhelpdoactivatehelp("'+lcHelpFile+'")' ON KEY LABEL F1 goapp.ssiHelp() && Need to put this into every form/Datasession. CD (lcSaveDir) ENDIF FUNCTION ssiHelp && this function is in the goapp class definition lcHelpCmd = goapp.cHTMLHelp &lcHelpCmd ENDFUNC