If you are using Window's Media Player 7 Or Greater then use the following code; I Used Windows Media Player 11 'For Opening a file WindowsMediaPlayer1.URL = "<Drive>\<Path>\<Filename WIth Extension>" 'For Stoping WindowsMediaPlayer1.Controls.stop 'For Playing WindowsMediaPlayer1.Controls.play Explore "WindowsMediaPlayer1.Controls." it has all the control u require
Answers & Comments
Write following code in a command button in click event
WindowsMediaPlayer1.URL = "G:\achu.dat"
click this button
If you are using Window's Media Player 7 Or Greater then use the following code;
I Used Windows Media Player 11
'For Opening a file WindowsMediaPlayer1.URL = "<Drive>\<Path>\<Filename WIth Extension>"
'For Stoping WindowsMediaPlayer1.Controls.stop
'For Playing WindowsMediaPlayer1.Controls.play
Explore "WindowsMediaPlayer1.Controls." it has all the control u require