I am trying to retrieve Client PC Name from web system in ASP.net, by the following code in Javascript.
var network = new ActiveXObject('WScript.Network');
alert(network.computerName);
I was managed to make it work on IE8 on windows xp, and 7, by changing the security setting of IE on each client PC. What I did is to enable "Initialize and script ActiveX controls not marked as safe for scripting" (under "Internet Option --> Security -->
Custom level") on IE. However, the code needs to be executed on Windows Mobile 6.5’s IE.
Does anybody know the corresponding security setting or any other ways to make it run in Windows Mobile 6.5 OS?
I think ActiveX is not supported in Windows Mobile 6.5 - http://stackoverflow.com/questions/7258477/activex-write-to-file-from-javascript-on-windows-mobile-6-5-nothing-happens
r-ikehata
0 Points
2 Posts
ActiveX controls setting in IE of Windows Mobile 6.5
Dec 05, 2012 02:04 PM|LINK
Hello,
I am trying to retrieve Client PC Name from web system in ASP.net, by the following code in Javascript.
var network = new ActiveXObject('WScript.Network');
alert(network.computerName);
I was managed to make it work on IE8 on windows xp, and 7, by changing the security setting of IE on each client PC. What I did is to enable "Initialize and script ActiveX controls not marked as safe for scripting" (under "Internet Option --> Security --> Custom level") on IE. However, the code needs to be executed on Windows Mobile 6.5’s IE.
Does anybody know the corresponding security setting or any other ways to make it run in Windows Mobile 6.5 OS?
Thank you.
roopeshreddy
All-Star
20277 Points
3349 Posts
Re: ActiveX controls setting in IE of Windows Mobile 6.5
Dec 05, 2012 05:41 PM|LINK
Hi,
I think ActiveX is not supported in Windows Mobile 6.5 - http://stackoverflow.com/questions/7258477/activex-write-to-file-from-javascript-on-windows-mobile-6-5-nothing-happens
Hope it helps u...
Roopesh Reddy C
Roopesh's Space