Hi Canh,
the biggest changes in VFP9 are all the new cool reporting stuff. So you simply must wait until VFP9 is released, or do it the old way.
>Hi all
>With my computer that installed VFP9 , my pro work very good with codes following.
>
>* Main Program for Dutoan.app
>* Application
>
>SET REPORTBEHAVIOR 90
>listener=NULL
>DO reportoutput.app WITH 5,listener
>listener.QuietMode=.T.
>_REPORTPREVIEW="reportpreview.app"
>?MESSAGEBOX(VARTYPE(listener), 0)
>READ EVENTS
>
>I build that my prog with exe file and setup my pro on others computer .
>Of course, I distribute ReportOutput.app and reportpreview.app files with exe file
>However, when start the prog on computers without install VFP9, I get a message “oListener is not object”. What difference environment between two kind computers? And how can I solve my problem?
>
>Please help me.
>
>Canh