Questions about syncing Outlook and C#

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
 
N

Nicholas Paldino [.NET/C# MVP]

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).
 
K

Karl Mitschke

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top