Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating Outlook
Message
From
05/06/2007 15:17:45
 
 
To
05/06/2007 14:28:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01205187
Message ID:
01230716
Views:
35
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform