?
Solved

Directory searcher with a combo box

Posted on 2011-03-01
2
Medium Priority
?
849 Views
Last Modified: 2012-05-11
Hello experts

Im a bit new to vb.net 2008 and have been asked to write an app that works with active directory to assist with administration. Im not sure if its possible, but id like to be able to populate a combo box (Or other drop down box if necessary) with a list of users as you type in it (So like an autocomplete). Would this be possible using a directorysearcher object and combo box ? And if so could someone post how I would do it. Any help is greatly appreciated
0
Comment
Question by:Jarrod
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 1000 total points
ID: 35005540
0
 
LVL 7

Assisted Solution

by:FemSteenkamp
FemSteenkamp earned 1000 total points
ID: 35005726
depending on the size of the AD it might not be a good idea since having thousands of users in a dropdown will be slow and not an ideal way of idnetifying which of the 30 "smiths" you actually want.

also populating the list initially can take quite a while, and although it can be cached you then have to figure out how to handle refreshes (i.e. new users created in AD since last query)

rather go for an initial search result based on some criteria to limit the returned result

research the ANR attribute in AD
http://support.microsoft.com/kb/243299/EN-US

and how attributes can be added to this to make searching easier in AD domain.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question