How to Delete Custom Fields Programmatically in Contact

  • Thread starter Thread starter Ajay
  • Start date Start date
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
 
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.
 
Back
Top