Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Automation
Message
From
10/05/2000 10:25:24
 
 
To
10/05/2000 10:20:57
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00368099
Message ID:
00368110
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform