Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating Outlook
Message
De
05/06/2007 15:17:45
 
 
À
05/06/2007 14:28:41
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01205187
Message ID:
01230716
Vues:
34
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.
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform