Functionality of Application.GetAddress without Word?

M

Martin Müller

Office 2003 (11.0): The Word Application object provides a GetAddress method
which can be used to resolve a name and get an email address for a name. If
the name cannot be resolved (e.g. because it's ambiguous), a "Check Names"
dialog is displayed. That's the same dialog that is shown when Outlook cannot
resolve an addressee.

First of all, I'm wondering why Word has such a GetAddress method and
Outlook has not. But that's quite unimportant.

I'd like to know whether there is a possibility to use that functionality of
Application.GetAddress (resolving a name and if it is ambiguous show a
dialog) without the need of creating an instance of Word. Maybe there is a
function in CDO or MAPI I did not find yet?

Thanks in advance!
 
C

Cindy M.

Hi =?Utf-8?B?TWFydGluIE3DvGxsZXI=?=,
Office 2003 (11.0): The Word Application object provides a GetAddress method
which can be used to resolve a name and get an email address for a name. If
the name cannot be resolved (e.g. because it's ambiguous), a "Check Names"
dialog is displayed. That's the same dialog that is shown when Outlook cannot
resolve an addressee.

First of all, I'm wondering why Word has such a GetAddress method and
Outlook has not. But that's quite unimportant.
Word has it because it provides a "window" into the Outlook/Exchange
functionality without having to link in the necessary object library, create an
instance of the object application, etc. Outlook doesn't need it because all of
that is native to Outlook.
I'd like to know whether there is a possibility to use that functionality of
Application.GetAddress (resolving a name and if it is ambiguous show a
dialog) without the need of creating an instance of Word. Maybe there is a
function in CDO or MAPI I did not find yet?
No, logically there is not. You might want to follow up in an Outlook newsgroup
about how to get the functionality you're looking for.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top