Web浏览器控件,Flash不起作用 [英] Webbrowser Control, Flash not working

查看:205
本文介绍了Web浏览器控件,Flash不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题永远存在,希望有人可以为我提供解决方案。
我创建了一个简单的Web浏览器程序(使用VS 2013 Ultimate),只需单击一个按钮即可自动更改网址。

I know this problem has been around forever and hopefully someone can point me to a solution. I created a simple web browser program (using VS 2013 Ultimate) to automate changing from urls by just clicking a button. It's for children so they don't need to navigate, they just push a button and it takes them to the next url.

问题:Flash内容将不会显示,因为它们是儿童使用的,因此他们不需要导航,只需按一个按钮即可将他们带到下一个网址。

Problem: Flash content will not display using the webbrowser control. It will display in iexplorer 11 that is installed on the computer. It will also display in VS 2013 when I run the code to debug (see solution 3 below). Using Windows 7. I think it did load the page the very first time I ran it. After that, it will not load no matter what. (That makes me think it has something to do with a cached copy)

我尝试过的解决方案:我更改了注册表中所有相关的功能,有时甚至是不相关的FeatureControl设置。例如:FEATURE_BROWSER_EMULATION
我也尝试将URL修改为唯一。
我也尝试过删除iexplorer的历史记录,文件,缓存。例如:System.Diagnostics.Process.Start( rundll32.exe, InetCpl.cpl,ClearMyTracksByProcess 8)当我在VS 2013中运行程序时,这最后一个解决方案可以使Flash每次加载都完美。独立于VS环境之外,它再次拒绝加载Flash内容。

Solutions I have tried: I have changed all the relevant and at times unrelevant featurecontrol settings in the registry. EX: FEATURE_BROWSER_EMULATION I have also tried modifying the url to be unique. I have also tried deleting the history, files, caches for iexplorer. Ex: System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8") This last solution makes the flash load every time perfectly while I run the program within VS 2013. But when I run the program independently outside of the VS environment, it again refuses to load the flash content.

我愿意接受Web浏览器控件的所有解决方案或建议的替代方案。但是,替代方案必须是免费的解决方案和最新的解决方案。
如果可能的话,我想使用提供解决方案的webbrowser控件。附带说明:使用VB.net进行编码。
如果我忘了任何东西或需要更多信息,请告诉我。

I am willing to accept all solutions or suggested alternatives to the webbrowser control. But the alternative must be a free solution and up to date solution. If possible, I want to stay with the webbrowser control with a solution given. As a side note: using VB.net to code. If I forgot anything or need more information, let me know.

编辑:某些有问题的网站链接:

some of the websites in question link:

http://boowakwala.uptoten.com/kids/boowakwala-island-moving-furnituremove.html
http://boowakwala.uptoten.com/kids/boowakwala-adventures-chocolate-eggsort.html
http://boowakwala.uptoten.com/kids/boowakwala-island-moving-furnituremove.html


推荐答案

如果有人来此线程寻求解决方案,很抱歉花了很长时间编写它。

If anyone has come to this thread for a solution, sorry it took so long to write it.

问题出在我所怀疑的问题上,Web浏览器控件使用了网页的缓存副本。因此,它将不会加载Flash内容。无需代码即可简单快速地进行修复:在iexplorer的Internet选项的常规选项卡下,选择设置。在 Internet临时文件选项卡中,选择我每次访问网页。这将使控件无法加载缓存的副本。 Flash内容现在将正常加载。

The problem was as I suspected, the webbrowser control uses a cached copy of the web page. Thus it will not load the flash content. Simple and fast way to fix without code: In Internet Option of iexplorer, under the General tab, select Settings. In the Temporary Internet Files tab, select Every Time I Visit The Webpage. This will keep the control from loading a cached copy. The flash content will now load as normal.

这篇关于Web浏览器控件,Flash不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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