I'm getting this error when I run this code in a vb exe as well as a .vbs file.
This is all the code I have to run to get the error. I can add code to it, but it doesn't change anything. The dialog is in response to the CreateObject call.
Set oOL = CreateObject("Outlook.Application")
Set nsMAPI = oOL.GetNameSpace("MAPI")
nsMAPI.logon "Outlook", "", False, False
Set oOL = Nothing
I run this same code on another machine with the exact same configuration and do not get the error. I've reinstalled Outlook on the machine showing the error, but no change.