From: "Marcel Stör" <marcel at frightanic dot com>
Newsgroups: microsoft.public.dotnet.languages.csharp,microsoft.public.office.developer.a
utomation,microsoft.public.office.developer.com.add_ins
References: <
[email protected]>
Subject: GOT IT (Re: [Outlook]add contact item)
Date: Fri, 12 Sep 2003 08:43:27 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 20
Message-ID: <
[email protected]>
NNTP-Posting-Host: 80.238.139.246
X-Trace: 1063349007 read.news.ch.uu.net 239 80.238.139.246
X-Complaints-To: (e-mail address removed)
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!skynet.be!skynet.be!newsgate.cistron.nl!newsfeed.bit.nl!newsfeed.bit.nl
!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net
!bnewsinpeer00.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!r
ead.news.ch.uu.net!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.office.developer.automation:7338
microsoft.public.office.developer.com.add_ins:4509
microsoft.public.dotnet.languages.csharp:184301
X-Tomcat-NG: microsoft.public.office.developer.automation
Hi folks
Does anyone know how to add an object of type ContactItem to an
_Items list? _Items provides an add() method which, however, only
accepts a Variant as parameter... Here's what I do:
- logon to Exchange
- find default folder (public folder)
- navigate to the specific folder (contains contacts)
- as the MAPIFolder object for items -> _Items
and then?
Then I need to invoke move(MAPIFolder). That's all.
Regards,
Marcel