Form Regions and "locked" items

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
 
J

Jialiang Ge [MSFT]

Hello Gordon,

This a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. In order to communicate
with your more efficiently, would you please tell me your email by sending
a mail to my mailbox '(e-mail address removed)', remove 'online.'.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hello Gordon,

Would you mind letting me know your email by sending a mail to
"(e-mail address removed), remove 'online.'"? Due to the complexity of
the issue, I hope to discuss it with offline. I am looking forward to your
reply.

Thanks
Jialiang Ge ([email protected], 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top