473,387 Members | 1,485 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,387 software developers and data experts.

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 2412
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 LastModificationTime 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.com

<tb*@uni.dewrote in message
news:11*********************@y5g2000hsa.googlegrou ps.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
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...
1
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...
1
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...
5
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...
16
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...
3
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. ---------------------...
1
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...
0
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...
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
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...
0
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,...
0
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...
0
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...

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.