473,624 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1761
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
1761
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 handled by session("locked") variable or any other way. Any information to handle this concept is appreciated. Thanks.
1
2204
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 saving, It says that the file may have been "locked by another application". Now i cannot fix the error because i cannot save the changes. Probably the file get locks by aspnet_wp.exe. How can I fix this ? I tried to load the file as readonly but...
0
1216
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 follwoing: Alex suche = New DirectorySearcher() suche.SearchRoot = New DirectoryEntry(LDAPPath)
4
5606
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
7906
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 Access database, I update a text type datafield of that record in Access database to 'Y' (to mark the perticular record as a copied record)(The program does the updation). I tested the program several times by using a seperate copy of the same database...
2
4719
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 years, using vb5/Access 97 and later vb6/Access 2000 and 2003, without issue. Recently, I've started selling my latest version to liquor stores in my local area. The typical installation setup is a peer-to-peer network with three workstations; a...
0
1992
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 years, using vb5/Access 97 and later vb6/Access 2000 and 2003, without issue. Recently, I've started selling my latest version to liquor stores in my local area. The typical installation setup is a peer-to-peer network with three workstations; a...
5
14422
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 (WebHost4Life) and was running fine and dandy, until I decided I needed to add some additional stored procedures to the database.
2
3179
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 problem is that every time I close the form a warning message pops up saying: "The object is locked, so any changes you make will be discarded when the form is closed" I have looked at all of the properties of the form but cannot see any obvious...
0
8240
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7168
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2610
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.