C
Chris Thunell
I have some vb.net code that goes and gets some information from our
Contacts Public folder named "Pierce Contacts". As you see from the code
below, i reference this folder by first navigating to the folder in outlook.
Is there any way to reference the public folder programatically.
The exchange public folder is under
"Public Folders"
"All Public Folders"
"Pierce Contacts"
Sample code:
ol = New outlook.Application
olns = ol.getnamespace("MAPI")
***-> olFolder = ol.activeexplorer.currentfolder <-****** 'currentfolder'
CurFolder = olFolder.name
AllItems = olFolder.items
NumItems = AllItems.count
For Each Itm In AllItems
'do some stuff here
Next
Contacts Public folder named "Pierce Contacts". As you see from the code
below, i reference this folder by first navigating to the folder in outlook.
Is there any way to reference the public folder programatically.
The exchange public folder is under
"Public Folders"
"All Public Folders"
"Pierce Contacts"
Sample code:
ol = New outlook.Application
olns = ol.getnamespace("MAPI")
***-> olFolder = ol.activeexplorer.currentfolder <-****** 'currentfolder'
CurFolder = olFolder.name
AllItems = olFolder.items
NumItems = AllItems.count
For Each Itm In AllItems
'do some stuff here
Next