Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Automation
Message
De
10/05/2000 10:25:24
 
 
À
10/05/2000 10:20:57
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00368099
Message ID:
00368110
Vues:
31
Hi Jim...
oOutlook =CREATEOBJECT("Outlook.Application")
cSendTo  ="anyone@anywhere.com"
olItem   =oOutlook.CreateItem(0)
olItem.Attachments.Add("c:\docs\myfile.txt")
olItem.Recipients.Add(cSendTo)
olItem.Subject="Subject of the message"
olItem.Display
>I want to bring up the dialog for a new email message. I also want to set the subject, have a file attached if required and have the user select the person they are sending the message to. So by message dialog I mean the screen that appears when you create a new message to send in Outlook. Does that help?
>
>Thanks
>
>Jim
>
>
>
>>Define "message dialog", Jim.
>>
>>
>>>Does anyone know how to display a message dialog using Automation with Outlook?
>>>
>>>Thanks
>>>
>>>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform