--> Here is the content of my directory "wbem", but no wbemcode.dll. Does it mean i haven't WMI? However, i can execute WMI script on my computer... [V]
strComputer = "." Set objSystems = GetObject("WinMgmts:{impersonationlevel=impersonate}!//" & _ strComputer & "/root/CIMV2").InstancesOf("Win32_OperatingSystem") For Each objSystem In objSystems MsgBox "" & objSystem.Caption & " Service Pack " & CStr(objSystem.ServicePackMajorVersion) Next