简体   繁体   English

C#System.Windows.Forms.WebBrowser需要安装Flash

[英]C# System.Windows.Forms.WebBrowser Requires Flash to be Installed

When I create a form and add a WebBrowser control to it and have it navigate to http://www.adobe.com/flashplatform the flash area says I need Adobe Flash Player installed. 当我创建一个表单并向其添加WebBrowser控件并将其导航到http://www.adobe.com/flashplatform时 ,flash区域表示我需要安装Adobe Flash Player。 This is already installed in IE, but apparently not in the WebBrowser control. 这已经安装在IE中,但显然不在WebBrowser控件中。

Is there are way to have the WebBrowser control run flash without having to manually go to the flash site and install. 是否有办法使WebBrowser控件运行闪存而无需手动转到Flash站点并进行安装。 Flash is already installed the normal IE browser, just not the WebBrowser control in the forms app. Flash已经安装在普通的IE浏览器中,而不是表单应用程序中的WebBrowser控件。

When I actually clicked on the "Get ADOBE FLASH PLAYER" link, it brings me to a page that says: 当我实际点击“获取ADOBE FLASH PLAYER”链接时,它会显示一个页面:

Adobe Flash Player is not supported for playback in a 64-bit browser. 在64位浏览器中不支持Adobe Flash Player播放。 However, you can run Flash Player in a 32-bit browser running on a 64-bit operating system. 但是,您可以在运行64位操作系统的32位浏览器中运行Flash Player。

I changed the CPU type of the project to x86 and Flash now works just fine. 我将项目的CPU类型更改为x86,Flash现在可以正常工作。

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

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