Formular una preguntaFormular una pregunta
 

Respondidawebbrowser control can't run flash.

  • miércoles, 13 de agosto de 2008 1:03gmmo Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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!

Respuestas

  • viernes, 15 de agosto de 2008 6:45Xun Ye Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    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

     

Todas las respuestas

  • viernes, 15 de agosto de 2008 6:45Xun Ye Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    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

     

  • sábado, 16 de agosto de 2008 17:43gmmo Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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.

  • lunes, 18 de agosto de 2008 2:14Xun Ye Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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

     

  • viernes, 03 de julio de 2009 11:13U.Mihnea Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Tiene código
    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:

    {
    If not webBrowser1.Document.ActiveXInstance = Nothing Then
       If My.Compuer.FileSystem.Find(".............ocx" Then
            MessageBox.show("Must install Adobe Flash Player to see content!")
        }
    }
    
    Just put the correnct name of the Flash .ocx file, you can find it here on XP or Vista: C:\WINDOWS\Downloaded Program Files\
    Please vote me when I'm good, mark my thread as answer when I'm almost the best!
  • martes, 21 de julio de 2009 3:02arronf Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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?

  • jueves, 30 de julio de 2009 16:15fqian10 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.
  • miércoles, 09 de septiembre de 2009 12:43nyqex Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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.
  • jueves, 10 de septiembre de 2009 10:24S_RS Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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
    • EditadoS_RS jueves, 10 de septiembre de 2009 10:26grammar
    •  
  • lunes, 14 de septiembre de 2009 15:26Sunkish Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.