Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jun 2005
    Location
    HYD, India
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to invoke Check Names functionality in c#? (1.

    In my application I want to use the Check Names button functionality. Can u please give me how to programmatically invoke this functionality?

    In my application, I am able to pickup the global address book. But, when user types a partial address name and TAB then I should check the entry in the address book. If only one match found then it should get the email address. If more than one entry found for the given word then I should display all the address names in a window. Similar to how we are doing in Outlook by using the

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: How to invoke Check Names functionality in c#? (1.

    Hi,
    The code equivalent would be something like:
    <pre>objRecipient.Resolve();
    </pre>

    or
    <pre>objRecipients.ResolveAll();
    </pre>

    if there are multiple recipients. These will return True if everything is OK. If not, you will need to loop through all the recipients, check their Resolved property, and then, I suspect, search the GAL for similar entries to choose from.
    HTH.
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •