Zlatin,
The report writer uses a dialog message ("Printing...") that causes this error when called from an in-process COM DLL. Can you build your COM into an out-of process EXE?
The following article describes the problem:
http://www.west-wind.com/presentations/pdfwriter/pdfwriter.htmHTH
>I have the following problem:
>From a VFP7 SP1 COM I want to execute command like the following:
>
>report form [FRXname] to file [filename.ps] noconsole
>
>
>I instantiate the VFP COM via FoxISAPI.dll. When I try to execute the code above I receive error
"User interface operation is not allowed at this time".
Daniel