J
JC
Hi,
I'm using outlook 2003, I have the following code:
Set olApp = CreateObject("Outlook.Application")
Set olNameSpace = olApp.GetNamespace("MAPI")
olNameSpace.Logon MyProfile, "", False, True
When I run it in DLL, I got error "Permission denied", but no dialogue popup.
When I run it in vbscipt, I got dialogue popup to ask user name, password
and domain. I input the correct info. then it logs on fine.
I hope to know how to fix the "Permission denied" issue?
I'm using outlook 2003, I have the following code:
Set olApp = CreateObject("Outlook.Application")
Set olNameSpace = olApp.GetNamespace("MAPI")
olNameSpace.Logon MyProfile, "", False, True
When I run it in DLL, I got error "Permission denied", but no dialogue popup.
When I run it in vbscipt, I got dialogue popup to ask user name, password
and domain. I input the correct info. then it logs on fine.
I hope to know how to fix the "Permission denied" issue?