Page 1 of 1

Play .ASX in Visual Basic as a Background Music

Posted: Thu Aug 02, 2012 12:19 pm
by 3aaBrSbeel
How do you play .asx in Visual Basic as a background music?
I downloaded the streaming radio file that is .asx
And I want it in my program as a background music.
Please help?

Thanks in Advance hehaho;

Re: Play .ASX in Visual Basic as a Background Music

Posted: Thu Aug 02, 2012 12:22 pm
by Dummy1912

Re: Play .ASX in Visual Basic as a Background Music

Posted: Fri Aug 03, 2012 4:29 am
by 3aaBrSbeel
Dummy1912 wrote:
maybe this helps
http://blog.revolunet.com/index.php/gen ... workaround
I'm sorry. I don't understand a thing in that website.Could you type it below in simpler codes?

Re: Play .ASX in Visual Basic as a Background Music

Posted: Fri Aug 03, 2012 4:40 am
by pip
3aaBrSbeel wrote:
Dummy1912 wrote:
maybe this helps
http://blog.revolunet.com/index.php/gen ... workaround
I'm sorry. I don't understand a thing in that website.Could you type it below in simpler codes?
#3aaBrSbeel did you look at this source code? http://blog.revolunet.com/wp-content/up ... troller.vb hehaho;

Re: Play .ASX in Visual Basic as a Background Music

Posted: Fri Aug 03, 2012 7:59 pm
by mandai
It would probably be easier to use the Windows Media Player control. There is an article here on how to add it: http://msdn.microsoft.com/en-us/library ... s.85).aspx

You can then set axWindowsMediaPlayer1.URL to the location of the asx file and it should play.