Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Thanks Nick! I will pass this along and no doubt will not forget this fact the next time someone asks. Thanks for the quick response also!
>You cannot do it from VFP6 DLL. COM DLL does not allow user interface >elements and REPORT FORM ... to printer causes the box "Printing... " to >appear. In this case you will have to use COM EXE. Or run your DLL under >later version of VFP that has NODIALOG clause in REPORT FORM command.
>>Some guys at work are having trouble printing from a DLL they created in >>VFP 6.0. The code works fine when running from VFP but when running from >>the DLL an error 'user interface not allowed' is generated. They are using >>a command like:
>> report form x noconsole to printer
>>
>>I have not yet been fortunate enough to need to print from within a DLL. >>Why would they be getting this error and what is necessary to overcome the >>problem?
>>
>>Any help will be much appreciated.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement