T
Ty
Hello all I am trying to port over an application that interacts with
Active Directory which worked fine in VB6 but chokes in VB.net at this
line.
container.Filter = Array("Computer")
From some research I have found that this needs a variant array which
seems to be a problem in VB.net.
Here is the code above the problem line.
Dim container As IADsContainer
container = GetObject("WinNT://" & containername)
container.Filter = Array("Computer")
Any help would be appreciated.
Ty
Active Directory which worked fine in VB6 but chokes in VB.net at this
line.
container.Filter = Array("Computer")
From some research I have found that this needs a variant array which
seems to be a problem in VB.net.
Here is the code above the problem line.
Dim container As IADsContainer
container = GetObject("WinNT://" & containername)
container.Filter = Array("Computer")
Any help would be appreciated.
Ty