See
Re: Can we add hyperlink in report Message #
1037687>
>My application works fine from Command Prompt, but when i build an exe file the problem starts. I output all my reports to Print Preview, Print and Html files. The problem is with the html output. Below is the code for html output
>
>
>loListener = .Null.
>loListener = Newobject('HtmlListener', Curdir() + '..\Libs\_ReportListener')
>loListener.ListenerType = 5
>loListener.TargetFileName = '..\Detail-TabularFormat.Html'
>loListener.Quietmode = .T.
>
>Report Form ..\Reports\Detail For TmpDetail.Prnt = .T. Object loListener
>
>cFileName = "..\Detail-TabularFormat.Html"
>cAction = "Open"
>ShellExecute(0,cAction,cFileName,"","",1)
>
>
>First of all i get a messagebox "objtype alread exists, overwrite it?"
>Secondly i get an error message "loListener is not an object."
>Could you also specify all the file names that i have to add in a project. I have already copied ReportPreview.App, ReportBuilder.App, ReportOutput.App, _ReportListener.vcx/t and the 2 header files from the FFC folder (ReportListeners, ReportListeners_Locs).
>
>Thanks, Jitendra Shahani
--sb--