mdatac
July 16th, 2003, 01:14 AM
Hi everyone.
I am trying to open my Outlook Contacts and and capture certain fields from each one (to place in a user searchable / sortable listview).
I have managed to create the Namespace, the app and logon, I can even count the number of contacts, but am not able to access an individual contact, I receive a build error when I try and associate a contactitem with the items list (eg oCt = oItems.GetFirst().
Has anyone any information as to how to complete this last step, I am obviously missing some basic rule(s) and knowledge and any help would be appreciated. I have searched high and low for an example, 95% are in VB and they are doing the same thing as me, the C# examples seem to be limited to either mail or creating an outlook folder, which still for some reason is not helping.
Thanks in advance - Dave Middleton.
I am trying to open my Outlook Contacts and and capture certain fields from each one (to place in a user searchable / sortable listview).
I have managed to create the Namespace, the app and logon, I can even count the number of contacts, but am not able to access an individual contact, I receive a build error when I try and associate a contactitem with the items list (eg oCt = oItems.GetFirst().
Has anyone any information as to how to complete this last step, I am obviously missing some basic rule(s) and knowledge and any help would be appreciated. I have searched high and low for an example, 95% are in VB and they are doing the same thing as me, the C# examples seem to be limited to either mail or creating an outlook folder, which still for some reason is not helping.
Thanks in advance - Dave Middleton.