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 = contactFolder.Items.Add( 2 )
contact.lastName = “Bar”
contact.firstName = “Foo”
contact.homeTelephoneNumber = “703-333-3456”
contact.Save

Regard,
M.