Hello All
I use the htmllistener class from ffc classes in my project
The problem is that when i try to run the exe from a machine running Windows 2003 server i get the error
ox is not an object.
the code i execute is:
PROCEDURE CreateReport_HTML(Reportname,HtmlFile,NshowFile,ReportFilter)
SET CLASSLIB TO \foxpro\librarie\_reportlistener additive
ox = CREATEOBJECT('htmllistener')
ox.QuietMode =.F.
IF VARTYPE(HtmlFile)!='C'
ox.TargetFilename='C:\temp\myreport.html'
ELSE
ox.TargetFilename=HtmlFile
ENDIF
ox.AllowModalMessages=.F.
IF VARTYPE(ReportFilter)='C' AND NOT EMPTY(ReportFilter)
REPORT FORM (reportname) FOR &ReportFilter OBJECT ox
ELSE
REPORT FORM (reportname) OBJECT ox
ENDIF
IF VARTYPE(NshowFile)='N' AND NshowFile=1
ox.ShowFile()
ENDIF
ENDPROC
COMPLETE THREAD
|  | | Htmllistener Posted by Alex Arvanitou @ 6/19/2009 5:50:07 PM |
|