Horje

Visual Basic .NET - Using axWindowsMediaPlayer in VB.Net
Start
  Adding the axWindowsMediaPlayer
  • Right-click on the Toolbox, then click "Choose Items".
  • Select the COM Components tab, and then check Windows Media Player.
  • axWindowsMediaPlayer will be added to Toolbox.

Select this checkbox to use axWindowsMediaPlayer Select this checkbox! (opens new window)

Then you can use axWindowsMediaPlayer ???? Enjoy yourself! (opens new window)

  Play a Multimedia File
AxWindowsMediaPlayer1.URL = "C:\My Files\Movies\Avatar.mp4"
AxWindowsMediaPlayer1.Ctlcontrols.play()

This code will play Avatar in the axWindowsMediaPlayer.


Read Article
https://develop.horje.com/learn/1434/reference