PC Review


Reply
Thread Tools Rate Thread

Determin wether a container has members

 
 
Uwe Kühne
Guest
Posts: n/a
 
      2nd May 2004
Hi NG,

I'm just programming with ADSI and Visual Basic.
Is there a way to determine wether a container has content or not?
Why I want to do that?
Well, I display my AD-Hierarchy in a TreeView. If a container has
sub-elements (other ou's, users, etc.) I want to add a node to display this.
If it is empty, I don't want to add a node.
And I don't want to use ADO and a statement to count the elements, I think
that's quite slow!

I thank you for your help and send greetings from Germany,


Uwe kühne



 
Reply With Quote
 
 
 
Reply

« RPC help.... | RPC »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom container control with limited container region mnuckols@gmail.com Microsoft C# .NET 1 27th Aug 2007 05:01 PM
How to determine minimum size of a container to show all controls in the container? John Microsoft Dot NET Framework Forms 1 26th Aug 2004 05:37 PM
Determine wether a container has content Uwe Kühne Microsoft Windows 2000 Active Directory 1 9th May 2004 06:29 PM
Possible Version mismatch. Type System.Collections.Comparer has 1 members, number of members deserialized is 0 Matt G Microsoft Dot NET Framework 0 8th Dec 2003 05:45 AM
Make Container UserControl force controls to be added to a child container control Codemonkey Microsoft Dot NET Framework Forms 2 21st Nov 2003 08:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 PM.