GO HERE for more Visual Basic Tutorials, Tips and DOWNLOADS!
http://www.vbtutorials.weebly.com
Screen capture showing you how to prgram your very own simple media player using visual basic 2008 or 2005. Suitable for beginners!
Details may be hard to pick out but if you can become familiar with the visual basic 2008 environment then you should be able to know what is happening or just do it the easy way and look at the guide i have given below!
Happy programming!
After you have added the "windows media player", "open file dialog" and "command button" to the form, double click on the command button to open the "code" window. Put in this code:
OpenFileDialog1.ShowDialog()
AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName
Go back to the design window and select "OpenFileDialog1" at the bottom. Go to its properties window and go to "filter". Type in " All Files(*.*)|*.*| " (without quotation marks.) You can customise the filters to what you want.
Run your program and everything should work fine :)
OK c'est bon
saadoum1 2 weeks ago
Tnx
H4ckerzPro 1 month ago
Thanks It Works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Romfreak1 1 month ago
how to do it without open button
0xTheMaster0x 3 months ago
@stefan041997 When you copy and paste codes they don't work because you have to type it in your self
MrBattleman23 3 months ago
das ist mein video da zeig ich wie ihr noch einen picture viewer einbauen könnt damit es nicht so langweilig ist. hier ist der link youtube(.)com/watch?v=LQMDJ1euVXc
MultiTuber7 4 months ago
Its ''All Files (*.*)|*.*"
TheGreekWorld 5 months ago
When i paste All Files(*.*)|*.*| in the filter it says PROPERTY VALUE IS NOT VALID
stefan041997 7 months ago
WTF!? I have not a media player in the "All" section
maniakk14 9 months ago