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 > >
|