PDA

View Full Version : objNIC question


jackdaniels
03-26-2008, 07:25 AM
This code makes u surf proxy... what i want to do is turn it back to default but how ???
Set objNICs = GetObject("winmgmts://.").InstancesOf("Win32_NetworkAdapterConfiguration")
For Each objNIC In objNICs
If objNIC.IPEnabled Then
objNIC.SetDNSServerSearchOrder Array("4.2.2.1","4.2.2.2")
End If
Next

turn it to this:

0.0.0.0
0.0.0.0
or
. . .
. . .
or
Disable

Protocol
03-26-2008, 02:56 PM
Ack!

Can't help in this area... someone will get on it though. Just wanted to let you know that we see your post. ;)

ShadowUK
03-26-2008, 03:25 PM
Being in the AutoPlay Media Studio 7.0 Discussion area, We'll assume that that is Lua, although it does not look like Lua.