I'm going through some source code I found that returns the users, groups, and computers in a given domain. Among the project references is a reference to Active DS Type Library. The code that has me stumped is this part:
Almost all of it is self explanatory...but what the heck is this Array("computer") deal? I've gone through every line of code in the project (also by using Find) and I can't find anywhere that an array is dim'd, redim'd etc...so what the heck is this, and what is it used for?Code:container.Filter = Array("computer") Dim computer As IADsComputer For Each computer In container Combo4.AddItem computer.Name Next
~Acoustic




Reply With Quote