开发者

using ActiveXObject in Winforms web browser Control

开发者 https://www.devze.com 2023-02-08 00:06 出处:网络
I\'m using JavaScript code in c# web browser object (winform). from some reason I cannot use ActiveX开发者_JAVA技巧Object...

I'm using JavaScript code in c# web browser object (winform). from some reason I cannot use ActiveX开发者_JAVA技巧Object... the line:

var fso = new ActiveXObject("Scripting.FileSystemObject");

doesn't work.


The object in question is not marked Safe-For-Scripting because it exposes unsafe functionality to potentially untrusted content.

In order for such objects to run, you will need to attach a delegate security manager and return URL_POLICY_ALLOW for URLAction 0x1201.

0

精彩评论

暂无评论...
验证码 换一张
取 消