Questions about syncing Outlook and C#

  • Thread starter Thread starter Gidi
  • Start date Start date
G

Gidi

Hi,

I'm working on a C# program that syncs between Outlook and my dataBase,
I'm using Microsoft.Office.Interop.Outlook.AppointmentItem and I've 2
quesyions:

1. how can i get the value of the label of the appointment (by label i mean
for the meaning of the colors, "None", "personal" and so...)?

2. when i start my sync i'm getting a security warning, that asks me if i
allow this action and for how long, i read that i can bypass it so it won't
be shown to the user, but i couldn't find how do it. can i get some help?

Thanks,
Gidi
 
Gidi,

For the first question, I believe that what you want is the Categories
property on the AppointmentItem.

For the second, you can't get rid of that dialog. Any external access
to Outlook will throw that dialog up (it's meant as a security measure in
case you have a virus on your computer that is trying to send out email in
your name or with information in Outlook).
 
Hello Gidi,
Hi,

I'm working on a C# program that syncs between Outlook and my
dataBase, I'm using Microsoft.Office.Interop.Outlook.AppointmentItem
and I've 2 quesyions:

1. how can i get the value of the label of the appointment (by label i
mean for the meaning of the colors, "None", "personal" and so...)?

2. when i start my sync i'm getting a security warning, that asks me
if i allow this action and for how long, i read that i can bypass it
so it won't be shown to the user, but i couldn't find how do it. can i
get some help?

Thanks,
Gidi

For #2, lookup either:
A) Outlook Redemption http://www.dimastr.com/redemption/
B) Express Click Yes http://www.contextmagic.com/express-clickyes/

A) is by far the better solution.

Kar
 
Back
Top