473,549 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

synch Outlook appointments bidirectional

tbb
hi

I can create outlook apoointments using the outlook object model.

But now to my problem, if the user edit/change the appointment in
outlook I have inconsistent data because I store the appointment in my
datbase too, so how can a make the change on the database, when
someone change the outlook appointment.

thx

May 4 '07 #1
1 2423
If you want to be notified at the time that the change happens, then you
will have to have some sort of COM add in installed for outlook which will
be called when you save an appointment, which will then update your
database.

If you are running this as an external app that provides
synchronization , then you will have to scan both sets of appointments (in
your database, and in outlook).

If you find that an item is in one store, but not in another, you are
going to have to delete the item from the store that it is in. Now, this
presents a problem, because you could theoretically delete an item in one
store, and then save it at a time after the delete in the other store. You
have to figure out what you want to do here. From what I understand, if you
delete an item in outlook, and then empty the deleted items folder, the item
will be gone, so you won't know the date that the item was deleted. In this
case, you probably want to treat it like an add, because you have added an
item in one store, and you have no record of it in the other.

If the items exist in both stores, and both are marked as deleted (but
they havent been removed from the store), then do nothing.
If the item exists in one, but not the other, then copy the item to the
other store.

For items which match (you should be comparing the EntryID properties to
see if they are the same), you can check the LastModificatio nTime property
to see when the last time the item was changed on either side. Whichever
one has the later time takes precidence.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

<tb*@uni.dewrot e in message
news:11******** *************@y 5g2000hsa.googl egroups.com...
hi

I can create outlook apoointments using the outlook object model.

But now to my problem, if the user edit/change the appointment in
outlook I have inconsistent data because I store the appointment in my
datbase too, so how can a make the change on the database, when
someone change the outlook appointment.

thx

May 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
357
by: Pramod | last post by:
Experts I am also trying to create appointments for Outlook users on a specific Day and time. I was told you can't create appointments for others (but only for the user who is logged on). Is there a way to Create Appointments for everyone i.e. managers, other users through .NET application.
1
9365
by: Francisc Molnar | last post by:
Hi. I'm trying to access the appointments from MS Outlook 2003 using the interop assembly. Here is the code using .Net Framework 2.0 beta: Microsoft.Office.Interop.Outlook.Application m_coOutlookApp = new Microsoft.Office.Interop.Outlook.Application(); NameSpace coNameSpace = m_coOutlookApp.GetNamespace("MAPI");...
1
1717
by: srinivas | last post by:
Hi, i'm trying to retreive the appointments from different profiles of outlook. My outlook has 3 profiles created.('Sample1','Sample2','Sample3') my form contains 3 buttons.each one for each profile. so when user clicks on a button my code has to show the appointments for that particular profile that was given there. i wrote a small...
5
3309
by: Arno R | last post by:
Hi all, I need to get at specific (shared) agenda-data from MS outlook 2003. I need every day to get the scheduled 'appointments' for some rooms to Access. In Access I will show the time-periods that the rooms are booked for that day. I know how to code all this in Access. I can show some testdata for 5 rooms quite nicely on a form. I...
16
6182
by: Kosmos | last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been using which sends If you want to see the above code in its full context you can see it here: ...
3
3406
by: mwolowski | last post by:
Hello, I'd like to add tasks, appointments, etc using c# to outlook For example i added reference using OutLook = Microsoft.Office.Interop.Outlook; and the code: 1. --------------------- OutLook._Application outlookObj = new OutLook.Application();
1
7945
by: keri | last post by:
Hi everyone, After numerous failed attempts at this I am now trying again to solve this problem. I really would appreciate ANY help as I have been stumped with this for weeks and weeks! I have a form (frmappointments) through which I create an appointment item in my outlook calendar, (and save the appointment to tblappointments in my...
0
1523
by: Stephen B. Burris Jr. | last post by:
In my database I need to keep the offices calendar up to date with the current information that my database is tracking. To do this I am entering events as appointments. Entering them into outlook is not a problem. The problem comes from when I want to mass delete appointments. When I try to mass delete all the appointments from a...
5
1819
by: sumeetkbali | last post by:
Hello I am trying to create outlook appointments(outlook 2003) from ASP.NET (VS 2005). I have tried the sample from http://www.outlookcode.com/codedetail.aspx?id=775 but everytime the mail is about to go out it says that there is something trying to access your mailbox do you want to continue and then I have to click OK each time. Since I...
0
7520
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...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7809
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...
1
5368
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...
0
5088
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...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1941
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
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.