Hello.. I need assistance converting this to KiX, I’m not a programmer.
I’ve looked over a few post concerning Enumerating Network Connections and I’m confused.

http://www.kixtart.org/ubbthreads/showfl...true#Post150371

The platform is Windows 2000 Professional SP4
Heres the VB code I wish to convert.

' ----------------------------------------'
' Modify MTU values for remote sites.
' ----------------------------------------'

Option Explicit

Dim strComputer, objReg, i, arrAllInterfaces, strKeyPath

Const HKEY_LOCAL_MACHINE = &H80000002

strComputer = "."
strKeyPath = "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces"

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\default:StdRegProv")

'Obtain array of all interfaces.
objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrAllInterfaces

For i = 0 To UBound(arrAllInterfaces)
'Create the "MTU" value entry.
objReg.SetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath _
& "\" & arrAllInterfaces(i), "MTU", 1400