Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printers and Outlook automation
Message
De
27/07/2001 17:23:13
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
 
 
À
27/07/2001 15:34:43
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00533152
Message ID:
00536708
Vues:
9
Jay,

Thanks for the reply. Unfortunately I'm not using a report. I build the email using an Outlook object such as:

oOutlook = CREATEOBJECT('Outlook.Application')
oMessage = oOutlook.CreateItem(0) && () = item type 0 = mail item
oMessage... && add recipient...set subject...set body...etc.
oMessage.PrintOut()

Before I print I want to reset the default printer and afterwards I want to set it back.

Thanks.

John

>
>Don't know if this is your problem, but it's worth a look..
>
>VFP stores printer-specific information in the FRX. If you haven't attended to this, it may resolve your issue.
>
>Open the FRX as a table.
>The first record holds information about the report as a whole.
>In the EXPR memo field, delete all printer-specific info.
>In the Tag and Tag2 memo fields, delete all information.
>Close
>
>Jay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform