2 Replies - 369 Views - Last Post: 22 June 2010 - 01:29 AM Rate Topic: -----

#1 TADS  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 160
  • Joined: 09-August 08

WMP Question

Posted 21 June 2010 - 03:18 PM

hi all... im listening to a online radio station using AxWindowsMediaPlayer control in vb.net...

        AxWindowsMediaPlayer1.URL = "Link to Stream"
        AxWindowsMediaPlayer1.Ctlcontrols.play()



now because im using the WMP control i was wondering if there is any way i can show what im listening to on my MSN name??? like if im listening to a song on my pc it shows on my msn name that im listening to X song.

so can this be done??

Thanks for your time

Kev

Is This A Good Question/Topic? 0
  • +

Replies To: WMP Question

#2 PDUNZ  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 43
  • View blog
  • Posts: 372
  • Joined: 17-July 09

Re: WMP Question

Posted 21 June 2010 - 05:51 PM

Yes you can, example code:

Public Class Form1

    Dim MSN As New MSNPlug.ChangeText

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Call MSN.Send([Display Name on MSN], [Artist Name], [Track Name], [Icon ie "Music" or "Office" or "Game"], True)

    End Sub
End Class



You also need to download the MSNPlug.Dll, which I have attached for your convenience and add it as a reference in your project.

Attached File(s)


This post has been edited by PDUNZ: 21 June 2010 - 07:18 PM

Was This Post Helpful? 1
  • +
  • -

#3 TADS  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 160
  • Joined: 09-August 08

Re: WMP Question

Posted 22 June 2010 - 01:29 AM

WOW thanks for the reply... i will give it ago now :)

Thank again :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1