Hi Sergey
I am running VFP SP2.
Barry
>IIRC, the problem has been resolved in VFP9 SP1 or SP2.
>
>
>>I am trying to get to grips with the ReportListener and have come across the following problem.
>>The following code works OK when run as a prg from the command window
>>
>>ox=createobject("ReportListener")
>>ox.listenertype = 1
>>ox.PrintJobname = "My test report"
>>REPORT FORM test.frx OBJECT ox
>>
>>but when compiled into my exe the preview toolbar cannot be selected.
>>The only option is to press Escape to close the report.
>>None of the zoom or pagination options can be selected.
>>