I am using "AxMediaPlayer" dll component to play a song in vb.net .
I write code as follows :
Dim _ax As New AxMediaPlayer.AxMediaPlayer
_ax.FileName = "C:\karth\0004\1_Wake Up.mp3"
_ax.Play()
But it gives error like this :
{"Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown."}
Pls give the suggestion to rectify the problem .I need it as early as possible.
I write code as follows :
Dim _ax As New AxMediaPlayer.AxMediaPlayer
_ax.FileName = "C:\karth\0004\1_Wake Up.mp3"
_ax.Play()
But it gives error like this :
{"Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown."}
Pls give the suggestion to rectify the problem .I need it as early as possible.