Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook
Message
De
09/10/2000 13:05:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Outlook
Divers
Thread ID:
00426905
Message ID:
00426905
Vues:
49
First I want to thank John Koziol for the article in the VFUG October 2000 Newsletter.

Now, in addition to what he said there I want to attach a document into the “message body” , that is, I want to read my cursor, put it in a document format, say HTML,.txt or .doc, and paste it into it.
What’s the best way to do this?
Here is how I call an instance of Outlook:

#DEFINE olFolderOutbox 4
oOutlook=CREATEOBJECT("Outlook.Application")
oNameSpace=oOutlook.GetNameSpace("MAPI")
oMyOutbox=oNameSpace.GetDefaultFolder(olFolderOutbox)
oNewMail=oMyOutbox.Items.Add
oNewMail.Subject="Test this mail"
oNewMail.Display

thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform