以受限用户身份登录时,webBrowser控件不触发事件 [英] webBrowser control not firing events when logged in as Limited User

查看:125
本文介绍了以受限用户身份登录时,webBrowser控件不触发事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有一个使用WebBrowser控件的Windows窗体应用程序.在Windows XP计算机上,当用户以管理员身份登录时,将触发DocumentComplete事件,但是如果用户以受限/高级"用户身份登录,则不会触发DocumentComplete.

我认为可能有些图书馆需要许可或某些设置问题.请指教!

Menaka

Hello,

I have a windows form application that uses WebBrowser control. On windows XP machine when a user logs in as Administrator then the DocumentComplete event gets fired but if a user logs in as Limited/Power user then DocumentComplete does not get fired.

I think there may be some library that needs permission or some setting issue. Please advice!

Menaka

推荐答案

不正确.无论我以谁登录或拥有什么权限,DocumentComplete都会在我的计算机上触发.在整个请求中完成加载的每个页面都将触发DocumentComplete,包括框架"页面和填充框架的每个页面.

浏览器完全有可能仍在等待页面结尾显示.

现在,这假定Web浏览器控件为Visible = True.如果该值为False,则不会触发DocumentComplete.
Not true. DocumentComplete fires on my machine not matter who I''m logged in as or what permissions I have. DocumentComplete will fire for each page that finishes loading in the entire request, including the Frame page and each page that populates the frames.

It''s entirely possible the browser is still waiting for the end of the page to show up.

Now, this is assuming that the web browser control is Visible = True. If that value is False, DocumentComplete never fires.


这篇关于以受限用户身份登录时,webBrowser控件不触发事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆