Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of Outlook
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00720439
Message ID:
00725688
Views:
26
Do you have CDO.dll installed on your computer? I have Outlook 2002, windows XP and VFP7.0 and I tried the following code and I don't get the security window poping up.
oMSG = CREATEOBJECT("cdo.message")
oMSG.To = "me@nowhere.com"
oMSG.Subject = "Hello Email"
oMSG.TextBody = "This is an easy way to create an email"
oMSG.Send()
>Hi Mike,
>
>First, a be-lated thank you.
>
>I looked at the solutions , both from you and from Sergei, and I am still not there.
>I came back to your close window code, and my question is about the timing of the code. If I am not mistaken, this requires to create a COM, register it, and then let it wait until there is an Outlook UI. The Outlook window basically suspends the program.
>I also tried to run it in a Timer every 50 ms, and also, the Timer is suspended.
>
>??
>
>Thanks, J
Previous
Reply
Map
View

Click here to load this message in the networking platform