Hello,
i've got some problems using the outlook object. I have included the
Microsoft Office 11.0 Object Library Version 9.2.
In my class i am using the following code in order to connect to outlook.
Imports Outlook = Microsoft.Offic e.Interop.Outlo ok
Private olApp As New Outlook.Applica tion
Private olNs As Outlook.NameSpa ce
private sub....
olApp = CreateObject("O utlook.Applicat ion")
olNs = olApp.GetNamesp ace("MAPI")
olNs.Logon("Out look", "", True, True)
dosomething()
end sub...
With my user account it is working properly. Outlook is showing a window to
ask if i would like to allow my app to have acces to Outlook.
But with most other users, this little windows is not showing up. i think it
is by default answered with no access.
So i would like to have my app with acess to Outlook for all users.
Do i have to change something in my code or in Outlook?
Thank you very much for answers, cause i am trying to fix it for a week
now..
chris
i've got some problems using the outlook object. I have included the
Microsoft Office 11.0 Object Library Version 9.2.
In my class i am using the following code in order to connect to outlook.
Imports Outlook = Microsoft.Offic e.Interop.Outlo ok
Private olApp As New Outlook.Applica tion
Private olNs As Outlook.NameSpa ce
private sub....
olApp = CreateObject("O utlook.Applicat ion")
olNs = olApp.GetNamesp ace("MAPI")
olNs.Logon("Out look", "", True, True)
dosomething()
end sub...
With my user account it is working properly. Outlook is showing a window to
ask if i would like to allow my app to have acces to Outlook.
But with most other users, this little windows is not showing up. i think it
is by default answered with no access.
So i would like to have my app with acess to Outlook for all users.
Do i have to change something in my code or in Outlook?
Thank you very much for answers, cause i am trying to fix it for a week
now..
chris