jeudi 1 septembre 2016

VS Form not displaying webpage/ flash (Adobe Flash Player error) IE11

I am using Visual Studio Enterprise 2015 to develop and Installshield 2010 Premier (in Windows 10) to create a setup.exe. I have an VS application that requires launching of web page and as it happens its to view a youtube video. The code I have used is the following :

Private Sub btn_launch_hyperlink_Click(sender As Object, e As EventArgs) Handles btn_launch_hyperlink.Click
    If Me.txtb_hyperlink.Text <> "" Then
        FormWebPage.WebBrowser1.Navigate(Me.txtb_hyperlink.Text)
        FormWebPage.Show()
    End If
End Sub

But I am getting a flash player error :

enter image description here

Nothing special about the youtube either : https://youtu.be/4jxOXbpTmnk

The error message is requesting that "Adobe Flash Player" is required to play flash video. but it is already present. Basically, I am not sure why this would happen. The same link works in IE when pasted in as a URL.

I would like to ask if this is as a result of Windows 10 or something that I am not aware of. I seem to recall that when I previously compiled the same project using Visual Studio Professional this might have not been an issue.

Any help would be appreciated. Thanks in advance




Aucun commentaire:

Enregistrer un commentaire