Peter,
If you want to get a list of Active Directory users, then you can use
the classes in the System.DirectoryServices namespace to query the AD store.
However, I doubt that there will be any way to get around the security
features of Outlook. The whole purpose of those features is to prevent
outside programs from accessing functionality in Outlook without knowledge
of the person. Granted, I find it annoying as well at times.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Peter" <cz****@wsinc.com> wrote in message
news:OF*************@TK2MSFTNGP12.phx.gbl...
Is there a way to get the email address list from Global Address Book
using Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am
converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for
the user. An example of how to get a list of Active Directory users will do
the trick for me also.
Thank you
Peter