From: "Dwayne Smurdon @ DNA Media Pro" Date: 2003-01-26T19:45:36+09:00 Subject: Re: Adding a ContactItem to a Contact Folder. This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C2C4FD.A8B10A60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Milan, Works perfectly, thanks. Any idea why the www.rubytalk.com web site is so slow? I was trying to get caught up on some of the recent messages. It's so slow it's almost not usable. Thanks, -Dwayne (now I can go to sleep, it's 5:40am here!) -----Original Message----- From: Milan Maksimovic [mailto:maksa@sezampro.yu] Sent: Sunday, January 26, 2003 5:20 AM To: ruby-talk ML Subject: Re: Adding a ContactItem to a Contact Folder. Adding a ContactItem to a Contact Folder.Hello, >> In the long run I have a database of over 100,000 Contacts I need to dump >> into Outlook. I thought this would be a good application for Ruby. >> I'm having trouble though. This is the only way I was able to make it work: contact = contactFolder.Items.Add( 2 ) contact.lastName = "Bar" contact.firstName = "Foo" contact.homeTelephoneNumber = "703-333-3456" contact.Save Regard, M. ------=_NextPart_000_000E_01C2C4FD.A8B10A60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Adding a ContactItem to a Contact Folder.

Milan,

Works perfectly, thanks.  Any idea why the = www.rubytalk.com web site is so slow?  I was trying to get caught = up on some of the recent messages.  It's so slow it's almost not = usable.

Thanks,
-Dwayne
(now I can go to sleep, it's 5:40am here!)
-----Original Message-----
From: Milan Maksimovic [mailto:maksa@sezampro.yu]
Sent: Sunday, January 26, 2003 5:20 AM
To: ruby-talk ML
Subject: Re: Adding a ContactItem to a Contact = Folder.


Adding a ContactItem to a Contact Folder.Hello,

>> In the long run I have a database of over = 100,000 Contacts I need to dump
>> into Outlook.  I thought this would be = a good application for Ruby.
>> I'm having trouble though.

This is the only way I was able to make it = work:

 contact =3D contactFolder.Items.Add( 2 )
 contact.lastName =3D "Bar"
 contact.firstName =3D "Foo"
 contact.homeTelephoneNumber =3D = "703-333-3456"
 contact.Save

Regard,
M.




------=_NextPart_000_000E_01C2C4FD.A8B10A60--