I'm really hoping someone can give me a clue about this problem. thanks for reading.
The following code works great
Dim thisUser As DirectoryEntry
thisUser = New DirectoryEntry("LDAP://wolfgang/CN=JonesDT,OU=users,OU=Students,DC=rockhurst,DC=edu")
However, i need to be able to give it the ldap string in a variable like this.
ADsUserPath = "LDAP://wolfgang/CN=JonesDT,OU=users,OU=Students,DC=rockhurst,DC=edu"
Dim thisUser As DirectoryEntry
thisUser = New DirectoryEntry(ADsUserPath)
Which gives me the following error
"The value provided for adsObject does not implement IADs"
this seems so simple, can anyone tell me what the problem is?
The following code works great
Dim thisUser As DirectoryEntry
thisUser = New DirectoryEntry("LDAP://wolfgang/CN=JonesDT,OU=users,OU=Students,DC=rockhurst,DC=edu")
However, i need to be able to give it the ldap string in a variable like this.
ADsUserPath = "LDAP://wolfgang/CN=JonesDT,OU=users,OU=Students,DC=rockhurst,DC=edu"
Dim thisUser As DirectoryEntry
thisUser = New DirectoryEntry(ADsUserPath)
Which gives me the following error
"The value provided for adsObject does not implement IADs"
this seems so simple, can anyone tell me what the problem is?