>>>oToolBox.oAppSupport.ErrLog_Manual("Printer Install-" + ErrMsg, DataStr)
>>>sometimes triggers an error>>>Property ERRLOG_MANUAL is not found.>>>well - its there, and a few minutes later (without restarting the app) vfp knows its there and executes this command correctly. i've seen this behavior with other methods as well.
>IF UPPER(PROGRAM(PROGRAM(-1)-1)) <> "TOOLBOX.DESTROY" > IF TYPE("THIS.oAppSupport") <> "O" .OR. ISNULL(THIS.oAppSupport) > * *** THIS.oAppSupport = NEWOBJECT("AppSupport", _SCREEN.LocalMainPath +"classes\"+ JUSTFNAME(THIS.CLASSLIBRARY)) > * *** the above should be a bit faster (because no search in folders) > * *** but for some reason it sometimes triggers the following error: > * *** "m:\mm\classes\functions.vct is not an object file." > * *** so, we're gonna do it the slow way > THIS.oAppSupport = NEWOBJECT("AppSupport", THIS.CLASSLIBRARY) > ENDIF > THIS.AssignCaller(THIS.oAppSupport) >ENDIF >RETURN THIS.oAppSupportGunnar,