Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error loading printer driver in COM
Message
From
06/10/2004 21:53:20
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00949012
Message ID:
00949409
Views:
6
Hello again,

Overriding GetPageHeight() and GetPageWidth() did work in the COM EXE as you expected. Hopefully, I can figure out the user context thing instead of hard-coding the values, but I'm just playing around, so no big deal.

Another question: Should REPORT FORM work in a COM DLL in the public beta, or will that have to wait until release? I've tried setting QuietMode = .T. on the Listener (I think this happens automatically anyway), but I still get Error 2031 "User-interface operation not allowed at this time" when I try to run the report.

Thanks.

>It's likely that the user context in which you are running the COM object doesn't have any printer setups defined for it.
>
>You can change that or you can customize Listener.GetPageHeight() and .GetPageWidth() to return values -- that should be all you need if I remember correctly.
>
>Also as always in VFP 9 you are best off removing the saved printer environment, if you haven't already done so.
>
>>L<
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Reply
Map
View

Click here to load this message in the networking platform