no Fullname property on ContactItem

R

Rasmus Wätjen

Hello all.
When reading contact items from Outlook 2000 I get the following error:
"Method Fullname is not supported by automation object".
This happens on one computer, on a different computer, with the same Outlook
version, it works fine.
Can anybody tell me why? Is it possible to have other items than
ContactItems in olDefaultContactsFolder, so the object that gives me the
error is not actually a ContactItem? If so, is there a way to determine
whethe the Variant object is a ContactItem or not?

Thank you in advance.

Best regards,
Rasmus
 
D

Dick Kusleika

Rasmus

You can definitely have other items in your Contacts folder.

Dim oContact as Object

For Each oContact in Fldr.Items
If TypeName(oContract) = "ContactItem" Then
'Do stuff
End If
Next oContact
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top