How to Delete Custom Fields Programmatically in Contact

A

Ajay

Hi,
A custom Field was created using a COMAddin in Outlook.
I tried to delete the custom Field using the
userproperties of Item by specifying
With Item
.userproperties.Remove("Blah")
End With
Item.Save

I see the the same custom Field in the Form design view
under the tab All Fields by for the user-defined field for
the <folder>.
I tried to do the same thing using CDO.
I am not able to solve this problem.
I would be pleased if anybody there could help me out.

Thanks

Ajay
 
S

Sue Mosher [MVP-Outlook]

You can delete a custom property from an item programmatically, but not from
a folder. A folder's custom field definitions are stored in a hidden message
in an undocumented binary format. You will need to delete the field from the
folder manually.
 

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