G
GordonS
Hello,
I am unsure which group this should go under so have placed it on the
general, if anybody can suggest a more appropriate group that would be great.
I have a problem whereby if I update an Outlook 2007 calendar item via an
external program (eg. by Exchange Explorer or Exchange 2007 Web Services) I
am unable to update that item in Outlook itself until I restart the
application.
I created an Outlook Add-in using VS2008 and VSTO3. Initially I didn't add a
form region, just some code simple code to track events and fire out some
message boxes.
With this addin installed and running I can add an item to my custom
calendar folder using Outlook. I can then use Exchange Explorer to update the
subject of the item for example. This change is reflected in my Outlook as
expected and I can perform further updates in Outlook to that item.
However, when I add an Outlook Form Region to the addin I come across the
problems. I add the form region in VS2008 by selecting the form region
template, adding it as a new Separate form region. No changes are made to the
code that is generated, no controls added to the form, nothing to link
anything up.
If I then follow the procedure above, ie. add an item in Outlook, then
update it using Exchange Explorer, then try and perform a further update back
in Outlook I get the message:
The item cannot be saved because it was changed by another user or in
another window. Do you want to make a copy in the default folder for the item?
It is like the item has been locked by Exchange Explorer, or not released
properly before the update by Exchange Explorer. Any ideas would be greatly
appreciated.
Using Exchange Explorer to update the item externally to Outlook is just an
example - we are intending to use Exchange 2007 Web Services to actually
update the item, however the same problem occurs here.
I can post code if necessary but as I say, I am not making any changes to
the template code that is generated by VSTO when adding a form region.
Please help!
Many thanks
I am unsure which group this should go under so have placed it on the
general, if anybody can suggest a more appropriate group that would be great.
I have a problem whereby if I update an Outlook 2007 calendar item via an
external program (eg. by Exchange Explorer or Exchange 2007 Web Services) I
am unable to update that item in Outlook itself until I restart the
application.
I created an Outlook Add-in using VS2008 and VSTO3. Initially I didn't add a
form region, just some code simple code to track events and fire out some
message boxes.
With this addin installed and running I can add an item to my custom
calendar folder using Outlook. I can then use Exchange Explorer to update the
subject of the item for example. This change is reflected in my Outlook as
expected and I can perform further updates in Outlook to that item.
However, when I add an Outlook Form Region to the addin I come across the
problems. I add the form region in VS2008 by selecting the form region
template, adding it as a new Separate form region. No changes are made to the
code that is generated, no controls added to the form, nothing to link
anything up.
If I then follow the procedure above, ie. add an item in Outlook, then
update it using Exchange Explorer, then try and perform a further update back
in Outlook I get the message:
The item cannot be saved because it was changed by another user or in
another window. Do you want to make a copy in the default folder for the item?
It is like the item has been locked by Exchange Explorer, or not released
properly before the update by Exchange Explorer. Any ideas would be greatly
appreciated.
Using Exchange Explorer to update the item externally to Outlook is just an
example - we are intending to use Exchange 2007 Web Services to actually
update the item, however the same problem occurs here.
I can post code if necessary but as I say, I am not making any changes to
the template code that is generated by VSTO when adding a form region.
Please help!
Many thanks