Looks like you might as well just do it in VB, there really is no KiX specific in there.

Now if you do want to use KiX look at the UDF WMIPing()
_________________________
Today is the tomorrow you worried about yesterday.