:) 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.