Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: How to add Contacts to Appointment?

Geek News

How to add Contacts to Appointment?
"Metal" <javajohn[ at ]o2.pl> 6/14/2006 11:47:11 AM
Hello,

I programmatically create an Appoitment item, set its time, subject, etc.
But I don't know how to add Contacts to this appointment.
(I don't mean Recipients - I don't want to sent any mails or invite
anybowy).

In the outlook window, when creating an appointment there is a button (at
the bottom of window), so I can add some contacts (I schedule the
appointment with them).

How to add it from code?

Thanks very much... I've given up :(((

Metal


Re: How to add Contacts to Appointment?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 6/14/2006 12:48:42 PM
myAppt.Links.Add theContactItem

Links.Add takes a ContactItem as its parameter.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Metal" <javajohn[ at ]o2.pl> wrote in message news:e6ot46$jb9$1[ at ]nemesis.news.tpi.pl...
[Quoted Text]
> Hello,
>
> I programmatically create an Appoitment item, set its time, subject, etc.
> But I don't know how to add Contacts to this appointment.
> (I don't mean Recipients - I don't want to sent any mails or invite
> anybowy).
>
> In the outlook window, when creating an appointment there is a button (at
> the bottom of window), so I can add some contacts (I schedule the
> appointment with them).
>
> How to add it from code?
>
> Thanks very much... I've given up :(((
>
> Metal
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net