.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Code Snippets >> Visual Studio >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Online radio streaming

Posted By:laptop charles       Posted Date: June 27, 2010    Points: 10    Category: Visual Studio    URL: http://www.dotnetspark.com  

It has used to select tools->choose toolbox item->select->"windows media player" then drag and drop the "windows media player" i set the name "wmp" used one "OpenFileDialog" and "label" one "button". Run the form Then copy the radio url from internet.

Public Class Charles_MediaPlayer

    Private Sub OpenFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenFile.Click
        wmp.URL = OpenFileDialog1.FileName
    End Sub

    Private Sub Activate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Activate.Click
        wmp.URL = t.Text

    End Sub
End Class


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend