C
Chris Thunell
I am using vb.net to access a public folder in Outlook / Exchange Server.
Whenever my program tries to access this folder i get a dialogue box saying
"A Program is trying to access Outlook. Do you want to allow access" with
Yes/No buttons and if Yes, then to allow access| for specified period in
minutes. This is precluding me from truling automating this process because
i have to be here to click the appropriate buttons. Any way to disable this
warning dialogue?
Any help would be greatly appreciated!
Chris Thunell
(e-mail address removed)
Sample code:
ol = New outlook.Application
olns = ol.getnamespace("MAPI")
olFolder = ol.activeexplorer.currentfolder
CurFolder = olFolder.name
AllItems = olFolder.items
NumItems = AllItems.count
For Each Itm In AllItems
'do some stuff here
Next
Whenever my program tries to access this folder i get a dialogue box saying
"A Program is trying to access Outlook. Do you want to allow access" with
Yes/No buttons and if Yes, then to allow access| for specified period in
minutes. This is precluding me from truling automating this process because
i have to be here to click the appropriate buttons. Any way to disable this
warning dialogue?
Any help would be greatly appreciated!
Chris Thunell
(e-mail address removed)
Sample code:
ol = New outlook.Application
olns = ol.getnamespace("MAPI")
olFolder = ol.activeexplorer.currentfolder
CurFolder = olFolder.name
AllItems = olFolder.items
NumItems = AllItems.count
For Each Itm In AllItems
'do some stuff here
Next