Thanks for all the input.  I was able to perform this by using the 
System.DirectoryServices namespace.  My inspiration came from the following 
website:  http://www.codeproject.com/dotnet/QueryADwithDotNet.asp.

Here is my code below:

Dim result As SearchResult
Dim search As New DirectorySearcher
search.Filter = [String].Format("(cn={0})", "NameOfGroup")
result = search.FindOne()
Dim userNames As New ArrayList

For counter As Integer = 0 To result.Properties("member").Count - 1
 ddlList.Items.Add(DirectCast(result.Properties("member")(counter), String))
Next

What do you think of this solution?

Thanks,

Our vision is to develop an environment that will stimulate the transformation 
of data and information into knowledge and wisdom.  Our mission is to stay 
focused on the plans and goals with a sense of urgency necessary to improve the 
company's profitability and market share.
Shawn Hevel, API, AIT
Lead Programmer Analyst
Information Technology Department
South Carolina Farm Bureau Insurance Companies
Phone: (803) 936-4331
Fax: (803) 936-4629
Work Email: [EMAIL PROTECTED]
Home Email: [EMAIL PROTECTED]


-----Original Message-----
From: Marc Brooks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 2:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET-WEB] Outlook 2003 Question & integration with DotNet 1.1 
Warning Message

> "A program is trying to access e-mail addresses you have stored in
> Outlook.  Do you want to allow this?  If this is unexpected, it may be a
> virus and you should choose "No"."
>
> There is also a check box to allow access for a set period of time.
>
> My question, Is there a way to avoid this message box?

You need a trusted shim class... see this:

http://msdn2.microsoft.com/en-us/library/Aa140152(office.10).aspx

Tons more actually helpful information about actually doing Outlook
programming can be found here:

http://www.outlookcode.com/

--
"It's not the quality of journalism that is sinking e-media companies, it
the quality."  Thom Calandra - CBS Marketwatch

Marc C. Brooks
http://musingmarc.blogspot.com

===================================
This list is hosted by DevelopMentor  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to