This is a quick little tutorial on how to make a Video Player in VB 2008 -2010. Im sure you can do this in VB6 but you will have to change the code a lot.
Whats needed:
1 Forum
1 Media Player
1 Menu Strip
1 Open File Dialoge
How to get media Player:
1) Open your tool box
2) Right click, and click "Choose Items..."
3) Goto Com Components and check "Windows Media Player"
What to do:
1) When you Have your menu strip name the drop down "File", Then Make 2 items "Open" and "Close"
2) Double Click Open, and here is the code...
Try
OpenFileDialog1.ShowDialog()
AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName
Catch ex As Exception
'Do Nothing
End Try3) Double Click Close, and here is the code...
me.close
Now your done, You can play your Favorite Video or song!