Reputation: 1
Windows Media Player component - the program close when playing mp4 file without giving any Error Message.
But works fine when playing mp3 files.
code:
'Not working
axWindowsMediaPlayer1.URL = "c:\vid1.mp4"
axWindowsMediaPlayer1.Ctlcontrols.play()
'Works fine
axWindowsMediaPlayer1.URL = "c:\music.mp3"
axWindowsMediaPlayer1.Ctlcontrols.play()
Does anyone here know how fix this?
Upvotes: 0
Views: 788