AddressBook in VB

AddressBook in VB

Post by J.K.Ki » Fri, 31 Oct 1997 04:00:00



I'm developing Exchange application using VB5 with OLE messaging.
To use addressbook, I used the following code.

    Set objRecipients = objSession.AddressBook(_
                                    Title:="Select Recipients", _
                                    Recipients:=objRecipients, _
                                    forceResolution:=True, _
                                    recipLists:=1, _
                                    toLabel:="Recipient(&R)")

AddressBook method launches the dialog and I selected some RECIPIENTS.
But I found that addressbook mothod returned NOTHING.
I don't understand what's wrong with me.

Please help me out of this problem.

 
 
 

AddressBook in VB

Post by Sean Cargil » Mon, 10 Nov 1997 04:00:00



> I'm developing Exchange application using VB5 with OLE messaging.
> To use addressbook, I used the following code.

>     Set objRecipients = objSession.AddressBook(_
>                                     Title:="Select Recipients", _
>                                     Recipients:=objRecipients, _
>                                     forceResolution:=True, _
>                                     recipLists:=1, _
>                                     toLabel:="Recipient(&R)")

> AddressBook method launches the dialog and I selected some RECIPIENTS.
> But I found that addressbook mothod returned NOTHING.
> I don't understand what's wrong with me.

> Please help me out of this problem.

This may seem be a dumb question, but when you select a recipient are
you clicking on the 'To' or 'CC' button so the name you selected shows
up in the 'To' and\or 'CC' dialog boxes before you click on ok?