Hi all, I have today implemented email functionality for a small number of users which interacts with Outlook.
Clicking a button, creates Outlook object, builds an email and opens it in Outlook. Using lotus script.
eg, Set OutlookApp = CreateObject ( “Outlook.Application” )
This works fine for myself and my IT colleagues.
Users are getting the cannot create object error.
My question … do users need a certain level of permissions on their PC to create the Outlook object … ?
I’m thinking that as IT users, we have higher permission levels, hence OK for us but not them.
Hopefully someone can advise as I’m stumped currently.
Thanks in advance.
Andy
Subject: Cannot Create Automation Object Error when creating Outlook object
I found this. I know is is VB but might apply
f you are not the administrator on the machine, that may play a part, but you might want to try code like this (dec section) just in case:
Code:
Dim mess_body As String
Dim appOutLook As Outlook.Application
Set appOutLook = new Outlook.Application
Dim MailOutLook As Outlook.MailItem
Set MailOutLook = appOutLook.CreateItem(olMailItem)
Or maybe use CREATEOBJECT() instead of direct refernces?
Subject: Cannot Create Automation Object Error when creating Outlook object
Hi, Seems issue was down to the actual install of Office & Outlook.
Uninstalling and reinstalling Office fixed the issue.
Many thanks for the replies.
Cheers