Mark Dino Pelonia
Mark Dino Pelonia

Reputation: 1

VB.Net: Windows Media Player component - The program stop when playing mp4 file

VB.Net - VisualStudio2017

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

Answers (0)

Related Questions