M
marcus.lambert
Hi
I have a addin dll that I have built using VB6 ontop of outlook 2000
Basically the adding add a tool bar that looks up a field from a data
base and sets it as a user property on the mail item.
As part the setting of the userproperties I call Save.
code snip
------------------------------------------------------------------------------------------------------
Set UserProp = objMailItem.UserProperties.Find("PrincipalFilerUserId")
If UserProp Is Nothing Then
Set UserProp = objMailItem.UserProperties.Add("PrincipalFilerUserId",
olText)
End If
UserProp.Value = project.PrincipalFilerUserId
If objMailItem.Sent Then
objMailItem.Save
End If
-----------------------------------------------------------------------------------------------------------------------
I am having problems though if my user is a blackberry users as it
would seem that when a black berry sync (reconcile???)
it also changes something under the hold and saves the mailitem.
So if the user has the Item open while the blackberry process do it
thing .. I cannot save as the item has changed.
So my question is there a work around to force saving or a smart way
to re-get the reference ? ( I've tried to GetItemFromID)
I guess I need to know more about what blackberry is doing but this
may not be the place for that.
Thanks in advance
m
I have a addin dll that I have built using VB6 ontop of outlook 2000
Basically the adding add a tool bar that looks up a field from a data
base and sets it as a user property on the mail item.
As part the setting of the userproperties I call Save.
code snip
------------------------------------------------------------------------------------------------------
Set UserProp = objMailItem.UserProperties.Find("PrincipalFilerUserId")
If UserProp Is Nothing Then
Set UserProp = objMailItem.UserProperties.Add("PrincipalFilerUserId",
olText)
End If
UserProp.Value = project.PrincipalFilerUserId
If objMailItem.Sent Then
objMailItem.Save
End If
-----------------------------------------------------------------------------------------------------------------------
I am having problems though if my user is a blackberry users as it
would seem that when a black berry sync (reconcile???)
it also changes something under the hold and saves the mailitem.
So if the user has the Item open while the blackberry process do it
thing .. I cannot save as the item has changed.
So my question is there a work around to force saving or a smart way
to re-get the reference ? ( I've tried to GetItemFromID)
I guess I need to know more about what blackberry is doing but this
may not be the place for that.
Thanks in advance
m