C
Chris Thunell
I need to loop through a public folder on our exchange server and get some
information out of each record... I have the following code, but I can't
seem to figure out how to reference the public folder:
Dim objFolder As Outlook.MAPIFolder
Dim objItem As Object
Dim colItems As Items
Dim objItem2 As ContactItem
'some where i need: ("\\Public Folders\All Public Folders\My Contacts")
objFolder = objItem
colItems = objFolder.Items
'now use the colItems in
For Each objItem2 In colItems
MessageBox.Show(objItem2.CompanyName.ToString)
Next
Thanks for your help!
Chris Thunell
(e-mail address removed)
information out of each record... I have the following code, but I can't
seem to figure out how to reference the public folder:
Dim objFolder As Outlook.MAPIFolder
Dim objItem As Object
Dim colItems As Items
Dim objItem2 As ContactItem
'some where i need: ("\\Public Folders\All Public Folders\My Contacts")
objFolder = objItem
colItems = objFolder.Items
'now use the colItems in
For Each objItem2 In colItems
MessageBox.Show(objItem2.CompanyName.ToString)
Next
Thanks for your help!
Chris Thunell
(e-mail address removed)