D
David
I have a COM-Addin that goes through all the contacts in the contacts
folders, coverts them to the custom contact form, then modifies some data in
each contact. After this process, if you double click on a contact to open
it nothing happens..no error message, nothing. I know its not the converting
part because I have broken down the process into separate steps. So it has
something to do with modifing the custom data. Basically to modify the data
I just do something like the following
myitem = objFolder.Items.Find("[FullName] = """ & strName & """")
If Not myitem Is Nothing Then
Dim up As Outlook.UserProperty
up = myitem.UserProperties.Item("MyCustomProp")
If Not up Is Nothing Then
up.Value = strResult
End If
up = Nothing
End If
However if I shut down outlook, then open it again, i can open contact items
again. Any ideas?
Thanks
David
folders, coverts them to the custom contact form, then modifies some data in
each contact. After this process, if you double click on a contact to open
it nothing happens..no error message, nothing. I know its not the converting
part because I have broken down the process into separate steps. So it has
something to do with modifing the custom data. Basically to modify the data
I just do something like the following
myitem = objFolder.Items.Find("[FullName] = """ & strName & """")
If Not myitem Is Nothing Then
Dim up As Outlook.UserProperty
up = myitem.UserProperties.Item("MyCustomProp")
If Not up Is Nothing Then
up.Value = strResult
End If
up = Nothing
End If
However if I shut down outlook, then open it again, i can open contact items
again. Any ideas?
Thanks
David