Click here to Skip to main content
15,947,411 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi All,

I am working on an application which uses a .Net webbrowser control in a form to render flash contents. The 32bit application (built with x86 option) works fine (loads the flash content fine) on Win7 32bit OS.

However if I run the same 64bit version of the same application (built with x64 option), the flash doesn't load and shows as message "You need to upgrade your Adobe Flash Player...".

The reason for this (as far as I understand) is the non-availability of 64-bit flash player. I downloaded the 64-bit flash player 11 beta from Adobe website and the 64bit application worked fine. But I don't want to use this beta version.

Is it that, 64bit webbrowser control is used by the 64bit application (built with x64 option) and 32bit webbrowser control is used by the 32bit application (built with x86 option)? If yes, then can I explicitly use 32bit webbrowser control in my 64bit application (built with x64 option) so that it uses the 32bit flash player? Is it possible? I don't know how to explicitly create a 32bit webbrowser control within 64bit application. Any pointers for this?
Please correct me if I am wrong.

One option or workaround is to use the 32bit flash player and 32bit application on 64bit OS. But I want to use the 64bit application on 64bit OS but running with 32bit webbrowser control which uses 32bit flash player.

Any help is appreciated. Thanks in advance.

I don't think you can make a 32-bit WebBrowser control work without problems in a 64-bit application. Remember that 64-bit Windows 7 contains two versions of IE: 32-bit IE and 64-bit IE.
Share this answer
Sergey Alexandrovich Kryukov 3-Aug-11 14:51pm    
You think correctly, my 5. Please see my solution where I make more certain and general statement about this matter.
[no name] 3-Aug-11 14:53pm    
kathirsbe 22-Jan-18 1:03am    
how to run the web browser control in windows7
i have creating the code for retrive the data from database and write the html code to webbrowser control its works fine in windows xp and its not work for windows 7
[no name] 10-Aug-11 5:16am    
Hello HalliHaida, did you intend to vote 5 instead of 1?
Sergey Alexandrovich Kryukov 10-Aug-11 15:27pm    
Just in case, I checked up my vote, it's correct :-)
Chances are, somebody simply dislikes both our answers on this page :-)
Mixing instruction-set architecture in one process is absolutely impossible. What's worse, you could compile a .NET assembly referencing an assembly with incompatible target, but it will crash during run time. You could only implement different processes and use IPC between them — not an option with controls.

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900