webbrowser control can't run flash.
Hi,
Not sure if this is the best place to post this question, but here we go.
I am using the webbrowser control on C# app. I am trying to use 2008 Express edition (just moved to it ) and Vista home edtion--sorry don't have $$$ to buy the expensive stuff. Hopefully my issue is not related to the free software.
Now, I try to load url with flash content in it through the webbrowser control. Yet, it simply doesn't work. I installed flash9 but it complains about not finding flash.ocx. Actually the app simply puts annoying "x" but when I close devstudio it informs about this.
I googled around a bunch of posts and tried a bunch of things but none of them work. Most of the posts I've read seemed old and/or geared towards XP.
I did a search for *.ocx on my computer (although flash 9 is installed because the iexplorer works fine) and did not find any file called alike. I believed flash9 does not use these names anymore. Not sure though.
Anyway, I am sort of stuck. And wonder if anyone has had this problem and has a solution that is up to date.
thx!
답변
Hi gmmo,
As far as I know, if the Internet explorer in your machine can play the flash video, then the “WebBrowser” control in .Net framework can also do this, so please make sure the IE in your machine works fine with the flash ActiveX control.
If the “Internet explorer” fails to work with flash video, you can download and install the Flash Player 10 ActiveX Control from the below LINK.
http://labs.adobe.com/downloads/flashplayer10_ax.html
Regards,
Xun
모든 응답
Hi gmmo,
As far as I know, if the Internet explorer in your machine can play the flash video, then the “WebBrowser” control in .Net framework can also do this, so please make sure the IE in your machine works fine with the flash ActiveX control.
If the “Internet explorer” fails to work with flash video, you can download and install the Flash Player 10 ActiveX Control from the below LINK.
http://labs.adobe.com/downloads/flashplayer10_ax.html
Regards,
Xun
Thanks for the answer but you are wrong.
This is exactly what is driving me crazy. The explorer plays it correctly, but the webbrowser control fails. I did install the latest flash and remove it many times. In fact some of the posts I saw suggested to use an older flash version. I tried that and it didn't work.
I can't believe noone has had this problem before. The webbrowser control is vastly used in many apps. Perhaps people haven't upgrate everything to the latest yet.
nonetheless, it still doesn't work for me.
any leads on how I post a bug to the microsoft guys?
tchau,
Gustavo.
Hi gmmo,
If you want to give your feedback or report a bug to Visual Studio product team, please kindly do it via the following connect.
http://connect.microsoft.com/visualstudio/
Regards,
Xun
- I didn't understand what you trying to say... just a code in Visual Basic, adapted for C# ( a very similar langualge ), please Reply me with "Wrong" if I'm really wrong, here's the code:
Just put the correnct name of the Flash .ocx file, you can find it here on XP or Vista: C:\WINDOWS\Downloaded Program Files\{ If not webBrowser1.Document.ActiveXInstance = Nothing Then If My.Compuer.FileSystem.Find(".............ocx" Then MessageBox.show("Must install Adobe Flash Player to see content!") } }
Please vote me when I'm good, mark my thread as answer when I'm almost the best! I also have the problem whereby the webbrowser control is looking for flash.ocx even though IE works perfectly well and manages to locate flash10b.ocx.
why would the web browser be attempting to use an old, generic or non-existent flash activeX control file? why woudl the settings be ANY differnt to tth regular IE ?? and most importantly, how can this be changed?- I have the exactly same problem and not got any solution yet. What I found actually the problem was only happened on my Window Vista machine (both sp1 & sp2). It never got problem on XP. So I believe it's a Vista bug.
Is anyone found resolution on flash10 playing in “WebBrowser” control in .Net framework on Windows Vista?
http://www.f-in-box.com/dotnet/download.html supports flash10.I have the same problem but with some subtle difference: simple movies in old format WebBrowser CAN play but it can not play new fancy movies or smth like that. Perhaps, the old player has been installed correctly, but new player installed correctly only for regular IE.
Andrew- 편집됨S_RS 2009년 9월 10일 목요일 오전 10:26grammar
- I had the same problem on windows 7. The problem was that the web browser used by my C# app was IE 64bit and flash doesn't currently support 64bit browsers. Try to compile the program to x86 if you are running a 64 bit OS.

