Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating Outlook
Message
De
05/06/2007 16:44:29
 
 
À
05/06/2007 15:17:45
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01205187
Message ID:
01230736
Vues:
34
:) Not a dumb question at all. And it's Outlook.

>My dumb question - Is it outlook or outlook express?
>
>>When I try to use this, I get an error at the line:
>>
>>loOutlookApp = CREATEOBJECT("Outlook.Application")
>>
>>The error window says:
>>
>>"OLE error code 0x8007007e: The specified module could not be found."
>>
>>Any ideas what I need to look for here?
>>
>>Thanks!
>>
>>>
>>>loOutlookApp = CREATEOBJECT("Outlook.Application")
>>>loNewItem = loOutlookApp.createitem(0)
>>>* Html mail
>>>loNewItem.subject = "New HTML Message"
>>>loNewItem.to = "somebody@somewhere.com"
>>>loNewItem.htmlbody = "<HTML><H2>This is HTML Mail.</H2><BODY>Some body text.
>>><p><img border="0" src="http://mywebsite.com/picture.gif"
>>></p>
>>></BODY></HTML>"
>>>loNewItem.send
>>>
>>>
>>>
>>>
>>>>Hi all,
>>>>
>>>>Could someone tell me how to open MS Outlook through the createobject code,
>>>>ie in
>>>>
>>>>oOutlook=createobject(XXXX.application)
>>>>
>>>>I would like to know what's 'XXXX'?
>>>>
>>>>
>>>>Thanks a lot.
>>>>
>>>>Regards,
>>>>
>>>>
>>>>Steve.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform