Ok, I’m new to Ruby and new to Office Objects – double whammy. I’m simply
trying to add a new Contact item to the default contact folder. This is my
baby step. 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.
I thought I should be able to do
contactFolder.Add(contact) # OR
items = conact.Items
items.Add(contact)
I keep getting the missing_method error on the Add function. I have tried a
lot of other things, which did not work. So, this is where I am now. If I
remove the line with items.Add or contactFolder.Add – i get no errors. Any
help would be appreciated. Also, I have found the Office Object Models on
MSDN – this is a huge help, but if there are good examples of Outlook
automation, that would be great. (well, great if they are in Ruby, good if
they are in VB, which is likely.
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.
those method names (i.e. Add, Save) really have capital first letters? that
scares me.
···
On Sunday 26 January 2003 03:20 am, Milan Maksimovic wrote:
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.
On Sunday 26 January 2003 03:20 am, Milan Maksimovic wrote:
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.