473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Form Regions and "locked" items

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

--
Gordon Smith
Jan 14 '08 #1
1 1737
Hello Gordon,

Would you mind letting me know your email by sending a mail to
"ji****@online.microsoft.com, 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 (ji****@online.microsoft.com, 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jack | last post by:
I have a form that has few text boxes to input. However, after saving, if the user comes back to the same form, then the input boxes should be locked. I would like to know whether this can be...
1
by: Ing. Rajesh Kumar | last post by:
I am loading an XML File and validating that against an XSD file. Sometimes when there is an error in the XML file, system locks the file and I am not able to change the content of the file. When...
0
by: Alex | last post by:
Dear colleagues I don't know what the LDAP attribute in active directory (windows 2000) is called which showes if an user account is locked out or not. Could you help me? My code looks like...
4
by: Giggle Girl | last post by:
I have inherited a stylesheet at work, with the designer no longer working here. In an external stylesheet it says: thead th, thead th.locked { position:relative; }
1
by: amindi | last post by:
Hi, I wrote a VB6 program to read some data records from a Ms Access database and to write them into a SQL server database.(I use Ms Access 2000 and SQL server 2000).After reading each record in...
2
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight...
0
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight...
5
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
2
by: boliches | last post by:
I have a form within my database which On Open (event procedure) will make many calculations and enter the results in text boxes on the page of the form (I have 2 tabs on this particular form). My...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.