By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,159 Members | 1,941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,159 IT Pros & Developers. It's quick & easy.

Form Regions and "locked" items

P: n/a

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

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

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

Gordon Smith
Jan 14 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hello Gordon,

Would you mind letting me know your email by sending a mail to
"ji****, remove 'online.'"? Due to the complexity of
the issue, I hope to discuss it with offline. I am looking forward to your

Jialiang Ge (ji****, remove 'online.')
Microsoft Online Community Support

When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights.
Jan 17 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.