Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd17-Mar-07 9:26
®ol@nd17-Mar-07 9:26 
GeneralRe: How to browse Active Directory from VB.Net Pin
Mudsoad17-Mar-07 21:36
Mudsoad17-Mar-07 21:36 
GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd18-Mar-07 2:07
®ol@nd18-Mar-07 2:07 
GeneralRe: How to browse Active Directory from VB.Net Pin
Mudsoad18-Mar-07 5:15
Mudsoad18-Mar-07 5:15 
GeneralRe: How to browse Active Directory from VB.Net Pin
Dave Kreskowiak18-Mar-07 5:47
mveDave Kreskowiak18-Mar-07 5:47 
GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd18-Mar-07 8:47
®ol@nd18-Mar-07 8:47 
GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd18-Mar-07 9:52
®ol@nd18-Mar-07 9:52 
GeneralRe: How to browse Active Directory from VB.Net [modified] Pin
Dave Kreskowiak18-Mar-07 11:54
mveDave Kreskowiak18-Mar-07 11:54 
Your searching the entire subtree under the starting container. Don't.

The trick is to populate only the top level of the treeview, putting a dummy child under each leaf so you get the little plus sign next to it. Upon the user clicking each node, you have to requery AD to get the containers under that particular node, and fill in the nodes under the node that was clicked.

Didn't think this was going to be that complicated, did you?



-- modified at 17:59 Sunday 18th March, 2007

Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd25-Mar-07 7:23
®ol@nd25-Mar-07 7:23 
GeneralRe: How to browse Active Directory from VB.Net Pin
®ol@nd25-Mar-07 8:28
®ol@nd25-Mar-07 8:28 
GeneralRe: How to browse Active Directory from VB.Net Pin
Dave Kreskowiak26-Mar-07 15:50
mveDave Kreskowiak26-Mar-07 15:50 
QuestionProblem - openning PDF file in visual basic Pin
mgbalaji17-Mar-07 2:47
mgbalaji17-Mar-07 2:47 
AnswerRe: Problem - openning PDF file in visual basic Pin
Christian Graus17-Mar-07 3:51
protectorChristian Graus17-Mar-07 3:51 
AnswerRe: Sunday dates only.......... Pin
kubben17-Mar-07 2:23
kubben17-Mar-07 2:23 
GeneralRe: Sunday dates only.......... Pin
Member 387988118-Mar-07 20:42
Member 387988118-Mar-07 20:42 
QuestionResize the form at runtime on click event of button Pin
Pushpa Setty17-Mar-07 1:34
Pushpa Setty17-Mar-07 1:34 
AnswerRe: Resize the form at runtime on click event of button Pin
Christian Graus17-Mar-07 3:55
protectorChristian Graus17-Mar-07 3:55 
QuestionEnter/Tab keys on DataGridView !! Pin
kindman_nb17-Mar-07 0:12
kindman_nb17-Mar-07 0:12 
AnswerRe: Enter/Tab keys on DataGridView !! Pin
Mudsoad17-Mar-07 8:20
Mudsoad17-Mar-07 8:20 
Questionhow to creat the object at runtime? Pin
Niraj Parikh16-Mar-07 22:35
Niraj Parikh16-Mar-07 22:35 
AnswerRe: how to creat the object at runtime? Pin
Christian Graus17-Mar-07 3:54
protectorChristian Graus17-Mar-07 3:54 
QuestionRe: how to creat the object at runtime? Pin
Niraj Parikh19-Mar-07 20:02
Niraj Parikh19-Mar-07 20:02 
Questionvb.net Pin
navyasri16-Mar-07 20:49
navyasri16-Mar-07 20:49 
AnswerRe: vb.net Pin
PlayByTheRules17-Mar-07 0:38
PlayByTheRules17-Mar-07 0:38 
AnswerRe: vb.net Pin
Christian Graus17-Mar-07 3:51
protectorChristian Graus17-Mar-07 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.