Code:
Dim Application As Object, namespace As Object
Set Application = CreateObject("Outlook.Application")
Set namespace = Application.GetNamespace("MAPI")
namespace.Logon
Set safeItem = CreateObject("Redemption.SafeMailItem") ' Error here!
Normally this code works fine on most of my boxes -- but in this case I am running this in MS Access 2010 (64-bit) if it matters.
But the line where safeItem is assigned, I get the error that "ActiveX component cannot create object." What does this even mean? Why can't I create the object? The reference to Redemption seems to be okay / doesn't show as MISSING or anything.
I Google this error and there seems to be numerous possible causes since the error is so vague. Is there a well-known reason for this particular instance?