none
vb.net yardım RRS feed

Answers

All replies

  • What is "smockwave" ?

    Where the code used?

    What is the exact error message shown?

    What version of Visual Studio?

    What operating system?


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Thursday, April 25, 2019 6:39 PM
    Moderator
  • I'm using Shockwave Flash

    I can't use code

    Visual Basic 2010 Express

    Windows 10



    • Edited by Hollowmana Thursday, April 25, 2019 6:46 PM
    Thursday, April 25, 2019 6:42 PM
  • See the following post

    https://social.msdn.microsoft.com/Forums/en-US/cfa76a2a-fc1b-47b1-8d52-493e8d67596c/flashembedded-videos-are-no-longer-supported-in-visual-studio-2015-visual-basic?forum=vbgeneral


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by Hollowmana Thursday, April 25, 2019 8:15 PM
    Thursday, April 25, 2019 7:11 PM
    Moderator
  • Public Class Form1
        Private WithEvents webBrowser1 As WebBrowser
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            webBrowser1 = New WebBrowser()
            webBrowser1.Dock = DockStyle.Fill
            webBrowser1.DocumentText = "<meta http-equiv=""X-UA-Compatible"" content=""IE=edge""> <iframe width=""854"" height=""480"" src=""https://www.youtube.com/embed/QwqmJilXxJY"" frameborder=""0"" allow=""autoplay; encrypted-media"" allowfullscreen></iframe>"
            webBrowser1.Update()
            ClientSize = New System.Drawing.Size(880, 510)
            Controls.Add(webBrowser1)
        End Sub
    End Class

    Thank you,
    How can I get a link from a text box

    Thursday, April 25, 2019 8:04 PM
  • The following is a quick & dirty method, don't have the time to figure out a regular expression for this.

    Public Class Form1
        Private WithEvents webBrowser1 As WebBrowser
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            Dim baseStructure = "<meta http-equiv=""X-UA-Compatible"" content=""IE=edge""> <iframe width=""854"" height=""480"" src=""LINK-PlaceHolder"" frameborder=""0"" allow=""autoplay; encrypted-media"" allowfullscreen></iframe>"
            Dim theLinkToView = "https://www.youtube.com/embed/QwqmJilXxJY"
    
            webBrowser1 = New WebBrowser()
            webBrowser1.Dock = DockStyle.Fill
            webBrowser1.DocumentText = baseStructure.Replace("LINK-PlaceHolder", theLinkToView)
            webBrowser1.Update()
            ClientSize = New System.Drawing.Size(880, 510)
            Controls.Add(webBrowser1)
        End Sub
    End Class
    


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Thursday, April 25, 2019 8:55 PM
    Moderator