Hello,
We try to get ID Hard Disk on client computer.
We used following code:
| Code |
|---|
&AtClient
Procedure ShowHardiskID()
objService=GetCOMObject("winmgmts:impersonationLevel=impersonate}!\\.\root\CIMV2");
For Each objDisk In objService.ExecQuery("SELECT * FR OM Win32_DiskDrive") Do
Message(objDisk.DeviceID);
EndDo;
EndProcedure |
On the thin-client runs with no problems, but a web-client to connect fails.
Error message on IE: "COM-object are only supported in Microsoft Internet Explorer".
At Client we used: IE 11 on Windows8.1 .
Please help us to fix this error.
Desktop version