开发者

"mshtml.HTMLWindow2Class.document " throws System.UnAuthorizedAccessException.

开发者 https://www.devze.com 2023-03-24 06:15 出处:网络
I am using mshtml.HTMLWindow2Class.document property to check the state of the web page. But I kept get the following exception:

I am using mshtml.HTMLWindow2Class.document property to check the state of the web page. But I kept get the following exception:

System.UnAuthorizedAccessException.

Anybody know how to fix it? I 开发者_JS百科think maybe some permission is not configured correctly for mshtml, but I donw' know the detail steps to check and configure it.


Maybe I could put it this way:

If a COM component lacks some permission, how could I grant it?

Thanks!

0

精彩评论

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