Using axWindowsMediaPlayer in VB.Net
Other topicsAdding 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
Then you can use axWindowsMediaPlayer :)
Play a Multimedia File
AxWindowsMediaPlayer1.URL = "C:\My Files\Movies\Avatar.mp4"
AxWindowsMediaPlayer1.Ctlcontrols.play()
This code will play Avatar in the axWindowsMediaPlayer.
Contributors
Topic Id: 10096
Example Ids: 30974,30975
This site is not affiliated with any of the contributors.