Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listener problem.
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01038565
Message ID:
01038566
Views:
13
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    &&Html
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform