Re: Windows media player

Tech-Archive recommends: Speed Up your PC by fixing your registry




"tomS" <tomS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
Heres what I have so far
I have a command button named cmdmedia2,the media player and a common dialog
box on form1



Private Sub Cmdmedia2_Click()
cdlga.Filter = "mpg files (*.mpg)|*.mpg"
cdlga.ShowOpen
WindowsMediaPlayer1.Open cdlga.FileName
On Error Resume Next
WindowsMediaPlayer1.play
End Sub


I repeat:

Were you going to show us the line that caused the error?

LFS


.


Quantcast