D
Dave
Looking at the example below, how would I put some code in here to know that
a folder is specifically a folder containing outlook contacts ?
Dim ofldrs As Outlook.Folders
Dim ffldrs As Outlook.MAPIFolder
Set ofldrs = g_fldr.Folders
Set ffldrs = ofldrs.GetFirst()
Do While Not ffldrs Is Nothing
' put something here to check the type -
Set ffldrs = ofldrs.GetNext()
Loop
I know to look at the Class and it will tell me the object is a folder
(olFolder) or at the Class and know it is a contact (olContact) but how do
I know a folder is a Contact Folder, like Outlook 2003 does ?
a folder is specifically a folder containing outlook contacts ?
Dim ofldrs As Outlook.Folders
Dim ffldrs As Outlook.MAPIFolder
Set ofldrs = g_fldr.Folders
Set ffldrs = ofldrs.GetFirst()
Do While Not ffldrs Is Nothing
' put something here to check the type -
Set ffldrs = ofldrs.GetNext()
Loop
I know to look at the Class and it will tell me the object is a folder
(olFolder) or at the Class and know it is a contact (olContact) but how do
I know a folder is a Contact Folder, like Outlook 2003 does ?