New topic: 

AddressBook, List of E-mail Addresses [Solved]

<http://forums.realsoftware.com/viewtopic.php?t=31367>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       rbasic20091005153           Post subject: AddressBook, List of 
E-mail Addresses [Solved]Posted: Wed Dec 02, 2009 5:24 am                       
        
Joined: Sat Apr 04, 2009 5:10 pm
Posts: 439              Hola,

I suppose my question is basic for some people.  Anyway, I want to list e-mail 
addresses from AddressBook.  The following code is almost adequate for me.

Code:Dim i as Integer
Dim book as New AddressBook
Dim Contacts() as AddressBookContact
Contacts=book.Contacts
For i=0 to Ubound(Contacts)
  PopupMenu1.AddRow Contacts(i).EmailAddresses.Value(0)
Next

If possible, I want to add "- Contact e-mail addresses -" or whatever to 

Code:PopupMenu1.ListIndex=0
  How can I, please?

Thank you for your advice,

Tom     
_________________
Mac OS X 10.5.6/REALBasic 2008 R5.1
I say 'no' to MBS plug-ins.  I boycott them.     

    Last edited by rbasic20091005153 on Wed Dec 02, 2009 5:28 am, edited 1 time 
in total.   
                            Top               rbasic20091005153           Post 
subject: Re: AddressBook, List of E-mail AddressesPosted: Wed Dec 02, 2009 5:27 
am                               
Joined: Sat Apr 04, 2009 5:10 pm
Posts: 439              Oops...  Never mind...     
_________________
Mac OS X 10.5.6/REALBasic 2008 R5.1
I say 'no' to MBS plug-ins.  I boycott them.  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to