Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How To Play Youtube Videos In A Media Player Control In Visual Basic 2008

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,676
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 11, 2009

Pay youtube video's in visual basic 2008.
Codes:
Dim Str As String = _
TextBox1.Text.Replace("/watch?v=", "/v/")
AxWindowsMediaPlayer1.URL = Str

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (83)

Sign In or Sign Up now to post a comment!
  • the code works , thanks.

  • The code wont work

  • Good Old Vista eh :)

  • I like it

    i'm From indo

    

  • @YouDucks32 TextBox.Text.Replace(oldstring­, newstring)

  • It said that "Replace" is not a member 'System.Windows.Forms.TextBox'­. What should i do? Help!

  • @ApplyPieable go to wiki List_of_programming_languages

    try finding the language Visual Basic in that list my friend.

    Q_Q ?

  • @ApplyPieable go to wiki List_of_programming_languages

    try finding the language Visual Basic in that list my friend.

    Q_Q ?

  • @ApplyPieable Which means that it's a program! Basic is a language!!!! Not Visual basic, thats a program that can code in basic! Get that???

    You can't design in a language!!!

    So stop talking about things you dont know anything about!!!

  • @math110c Its a language, as you can can code with the "basic" part and design with the "visual" part.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more