The information in this article applies to:
SYMPTOMSRunning the Report command within an in-process OLE component created in Microsoft Visual FoxPro 6.0, returns an error indicating that the User- Interface operation is not allowed at this time. CAUSEThe Report command calls the User Interface functions in order to properly run the report. User Interface functions are no longer allowed in in- process Component Object Model (COM) servers created in Microsoft Visual FoxPro. RESOLUTIONCreate a Local COM server (.exe) in Visual FoxPro that can be called by the in-process server to run the report, or build the original object as a Local COM server (.exe). STATUSThis behavior is by design. MORE INFORMATIONThe full text of the error message returned that follows, uses the file, class and procedure name used in the Steps to Reproduce Behavior section of this article. The path specified in the error message will also vary depending on the file location.
Steps to Reproduce Behavior
REFERENCESVisual FoxPro Help; search on "sys(2335)"; topic: "SYS(2335) - Unattended Server Mode" Additional query words: kbDSupport OLE Print kbDSE kbVFp600 kbCOMt kbPrinting kbReportWriter
Keywords : |
Last Reviewed: August 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |