Hi,
We are usig the clsping.vb a class made for vb.net
When we use this class it works fine. But... When the ping encounters a machine that is turned off or doesn't exsit it crashes.
So we tried to call the ping between a try and catch but than the return values are always zero? Does anybody...
Set location = GetObject("WinNT://server,computer")
Set User1 = location.Create("user", "admin")
User1.SetPassword "something"
User1.Put "userAccountControl", &h10000
User1.SetInfo
This must be it. Hope you can use this. You can make a const from the &h10000 so you know what it did when you...
Set location = GetObject("WinNT://server,computer")
Set User1 = location.Create("user", "admin")
User1.SetPassword "something"
User1.Put "userAccountControl", &h10000
User1.SetInfo
This must be it. Hope you can use this.
Greetz,
Richard
maybe this helps..
Set location = GetObject("WinNT://server,computer")
Set User1 = location.Create("user", "admin")
User1.SetPassword "something"
User1.SetInfo
Set Group = GetObject("WinNT://server/Administrators,group")
wscript.echo(user1.adspath)
Group.Add(User1.ADspath)
Hope it's works...
HI,
I want to make vbscript who creats contacts and DL's. This parts works fine. But i also want to set message restrictions to the DL's with the DlMemSubmitPerms attribute. Does anyone know how to access this object for write. I found a document on the the MSDN website, see link ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.