Hello I am trying to extract hard disk serial number using folowing code:
Form1.Caption = GetObject("WinMgmts::Win32_LogicalDisk='C:'").VolumeSerialNumber
On my computer this works just fine, but when I run this code on other computer it gives me error message:
Run-time error '-2147217375 (80041021)' :
I tried to copy msvbvm60.dll on other computer but still nothing, what should I do?