At 1:09 PM -0700 5/31/04, David Austin wrote:
On May 30, 2004, at 4:36 AM, Jonathan Johnson wrote:
dim ab as new AddressBook
dim contact as AddressBookContact
contact = new AddressBookContact
contact.FirstName = "Foo"
contact.LastName = "Bar"
ab.Add contact
call ab.Save
So, this works but can you show an example of using the
AddressBookAddress class to set values and then add the contact?
All the examples in the LR get values. There are no examples of
setting values.
I've tried and I give up!
I came up with a solution that works for me for now. The
AddressbookContact lets you create an instance with a constructor
that includes a VCard string. I wrote a routine in my application's
Client class that outputs a VCard string for use with that
constructor. It works just fine in my tests so far.
I would prefer to be able to add AddressBook entries using the
AddressBookAddress class, but this topic seems to have died on the
vine as far solutions for doing that from anybody at RS.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|