hi,
i use WMI to ask for some Hardware Information like RAM
both IF __Obj* give me .F. :?
but this work
Problem : it does not work on every PC
if i use TRY / CATCH / END than line after Error will not execute
so how to "ask" in FOR EACH if a "Property" Exist :?:
i use WMI to ask for some Hardware Information like RAM
FOR EACH oMemory IN oWmi:ExecQuery( "SELECT * FROM Win32_PhysicalMemory" )
nSumRAM += VAL( oMemory:Capacity )
cFormFactor := GetFormFaktorText( oMemory:FormFactor )
cMemoryType := GetRAMtype( oMemory:SMBIOSMemoryType )
// ask for "SPEED"
IF __ObjHasData( oMemory, "SPEED" )
IF __ObjHasMethod( oMemory, "SPEED" )but this work
cSpeed := oMemory:Speed
cSpeed := oMemory:GETPROPERTY("SPEED")if i use TRY / CATCH / END than line after Error will not execute
so how to "ask" in FOR EACH if a "Property" Exist :?:
greeting,
Jimmy
Jimmy