Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading printer driver in COM
Message
De
06/10/2004 21:53:20
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00949012
Message ID:
00949409
Vues:
7
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform