Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

browser

c#

flash

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. This is already installed in IE, but apparently not in the WebBrowser control.

Is there are way to have the WebBrowser control run flash without having to manually go to the flash site and install. Flash is already installed the normal IE browser, just not the WebBrowser control in the forms app.

like image 416
Josh Close Avatar asked Sep 23 '09 12:09

Josh Close


1 Answers

When I actually clicked on the "Get ADOBE FLASH PLAYER" link, it brings me to a page that says:

Adobe Flash Player is not supported for playback in a 64-bit browser. However, you can run Flash Player in a 32-bit browser running on a 64-bit operating system.

I changed the CPU type of the project to x86 and Flash now works just fine.

like image 123
Josh Close Avatar answered Oct 27 '22 08:10

Josh Close