Automating Outlook - Error 429 (Activex cannot create object)
Hi,
I have the following code:
VB Code:
Dim olapp As New Outlook.Application
Dim olMail As Outlook.MailItem
Set olMail = olapp.CreateItem(olMailItem)
olMail.To = txtEmail.Text
olMail.Subject = "Blah..."
olMail.send
It works on my machine (with Outlook 2002), but when I install it on the user's PC (with Outlook 2000) I get "Activex cannot create object".
I used P+D wizard to create the setup files, and I checked the MSOUTL.OLB file on the users PC - it has the same attrib. as on my PC.