-
Dear!
i m using ADSI scripts to automate some administrative
purposes for my NT Domain.
i used following statement:
dim adsuser
set adsuser = getobject("WinNT://MyDomain")
i got the error 'the network path was not found'
domain name that i m using is 100% correct and it matches
my domain name.
r there some other reasons that may cause this error
please reply me as soon as possile.
Waiting for ur cooperation.
-
You must make sure that your project references
Active DS Type Library - then
I think you must dim adsUser as shown below.
dim adsuser As IADsUser
Hope this works.