简体   繁体   English

使用Microsoft Html Control时,ReadyState永远不会比Interactive更深入

[英]When using Microsoft Html Control the ReadyState never gets further than Interactive

We are using the Microsoft MSHtml control to render and modify web pages, we have today deployed to Citrix and found that the document state often does not get any further than interactive while we are expecting it to get to completed. 我们正在使用Microsoft MSHtml控件来呈现和修改网页,今天我们已将其部署到Citrix,并且发现文档状态通常不会比交互式更进一步,而我们期望它可以完成。

We are using c# and we do have a UI, like i said in my question this is an intermittant issue. 我们正在使用c#,并且确实有一个UI,就像我在我的问题中说的那样,这是一个间歇性问题。 Even when we are loading the same pages, on a normal desktop its fine, through Citrix we get the intermittant issue – Kev Hunter 1 min ago [delete this comment] 即使我们加载相同的页面,也可以在普通桌面上通过Citrix很好地解决间歇性问题– Kev Hunter 1分钟前[删除此评论]

We are using the Microsoft.MsHtml and interop dll's – Kev Hunter 我们正在使用Microsoft.MsHtml和互操作dll – Kev Hunter

Has anyone seen this before? 谁看过这个吗?

What language/technology are you using? 您正在使用什么语言/技术?

Have you confirmed that all of the resources in the page are actually downloaded? 您是否已确认页面中的所有资源均已实际下载?

When you say "Microsoft MSHTML Control" which control are you using specifically? 当您说“ Microsoft MSHTML控件”时,您具体使用的是哪个控件? The Web Browser Control? Web浏览器控件? Or literally the MSHTML object alone? 还是单靠MSHTML对象?

http://msdn.microsoft.com/en-us/library/aa752047(VS.85).aspx If you use MSHTML outside of a web browser control, you need to make sure you run a message loop or the document will never load. http://msdn.microsoft.com/zh-cn/library/aa752047(VS.85).aspx如果在Web浏览器控件之外使用MSHTML,则需要确保运行消息循环,否则文档将永远不会加载。 ... ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM