I got this error after install xp sp2
"class does not support automation or does not support expected interface after xpsp2 install"
'List all server ip adapters
Dim IPconfig As WbemScripting.SWbemObject
ERROR ON THIS LINE!--> Set IPconfigSet = GetObject("winmgmts:").ExecQuery("select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")
For Each IPconfig In IPconfigSet
If Not IsNull(IPconfig.IPAddress) Then
For I = LBound(IPconfig.IPAddress) To UBound(IPconfig.IPAddress)
My references are as follows:
VB for applications
VB runtime objectes and procedures
vb objects and procedures
microsoft wmi scripting v1.2 library
microsoft dialog automation objects
microsoft scripting runtime
Which reference dll or tlb is the problems (obviously xp sp2 over wrote one of them)....
Whwat reference does that error line of code use??