Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listener problem.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Listener problem.
Versions des environnements
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01038565
Message ID:
01038565
Vues:
54
Hello Experts

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
Regards, Jitendra Shahani
Korect Business
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform