The only thing I made was connect a Firebird Database to the project to save the playlist chosen by the user, that so, the user can play back the playlist after turn wmp off!
{ lbNama.Items.Add(Form1.opd.SafeFileName) lbSumber.Items.Add(Form1.wmp.URL) } THIS CODE IS WRONG AND DISPLAY ERROR IN FORM1. IT IS ('Form1' is not declared. It may be inaccessible due to its protection level ) PLEASE HELP ME!!!!
nice tutorial :D btw can you help me with my problem ? my first problem is: i want my playlist to play next song automatically but i dont know how to do it. can you help me with this? my next problems are: whenever i try to click next/previous in my custom button on WMP , it wont load the song and just idle. i cant figure out where is the problem with this one.
I think you have to create a for loop to get it to play the next song. I never use the WMP control from the toolbox , I import WMPLib above the form class and then use "Dim WMP As New WMPLib.WindowsMediaPlayer" inside the class, Works great. Then I create My own Player user Interface.
It would be nice to see how to save the playlist to disk to load later, even make multiple playlist to load when you want and save a list of playlist to load when you want.
I know it's wrong, that's the problem. I need to search, from the Form 2, all files I'm going to put into the playlist, because the Open button is in the second form (the request for the program is that the Open button be in the second form, not in the Form 1). Thanks for helping.
if that so, your code are wrong because you have wmp and ofd in form 1 and not in form 2. so if you want to play wmp in form 1. make sure the code is form1.wmp.URL it means you want wmp in form 1 to play
I find that I can Open a playlist file like .wpl or .m3u and play it just fine in the Windows Media Player, but how to create those files is a differant story.
If I have the Open button in the Form 2, how could I show the folder where I input the files from? It doesn't work with: " If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then wmp.URL = ofd.FileName End If "
This code should move down to the next song after the existing one has played. Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsStopped Then listbox1.selectedindex = listbox1.selectedindex + 1 End If End Sub
This video helped me finish my work... THANKS
The only thing I made was connect a Firebird Database to the project to save the playlist chosen by the user, that so, the user can play back the playlist after turn wmp off!
{ lbNama.Items.Add(Form1.opd.SafeFileName)
lbSumber.Items.Add(Form1.wmp.URL) } THIS CODE IS WRONG AND DISPLAY ERROR IN FORM1.
IT IS ('Form1' is not declared. It may be inaccessible due to its protection level
)
PLEASE HELP ME!!!!
flying steps :) nice choice for the music
nice tutorial :D
btw can you help me with my problem ?
my first problem is:
i want my playlist to play next song automatically but i dont know how to do it. can you help me with this?
my next problems are:
whenever i try to click next/previous in my custom button on WMP , it wont load the song and just idle. i cant figure out where is the problem with this one.
I think you have to create a for loop to get it to play the next song. I never use the WMP control from the toolbox , I import WMPLib above the form class and then use "Dim WMP As New WMPLib.WindowsMediaPlayer" inside the class, Works great. Then I create My own Player user Interface.
I have question. How do I get the videos / audio to transfer over and play on a different computer?
It would be nice to see how to save the playlist to disk to load later, even make multiple playlist to load when you want and save a list of playlist to load when you want.
Man... it's perfect !
Good job.
Thank you.
I know it's wrong, that's the problem. I need to search, from the Form 2, all files I'm going to put into the playlist, because the Open button is in the second form (the request for the program is that the Open button be in the second form, not in the Form 1). Thanks for helping.
if that so, your code are wrong because you have wmp and ofd in form 1 and not in form 2.
so if you want to play wmp in form 1. make sure the code is form1.wmp.URL
it means you want wmp in form 1 to play
how to save the playlist? so that does not need to reopen.. please reply..
I find that I can Open a playlist file like .wpl or .m3u and play it just fine in the Windows Media Player, but how to create those files is a differant story.
Thanks 😊
If I have the Open button in the Form 2, how could I show the folder where I input the files from? It doesn't work with: " If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then
wmp.URL = ofd.FileName
End If "
Pleaseeeee, can you tell me how to put repeat button on this form? Thankyou! :-)
Second song is awesome!
itu perekam layarnya pakai apa gan, bisa ngezoom otomatis gitu?
what kind of screen recorder you use it? it can zoomming automatically like that?
VERY NICE!!!!
Less If, more Select Case.
Nice tutorial anyways.
what does nama and sumber mean?
sorry, i dont know it yet :)
this is about 1 year ago and im in web programming since that day :)
thank u very much.
where is the next song's event
This code should move down to the next song after the existing one has played.
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsStopped Then
listbox1.selectedindex = listbox1.selectedindex + 1
End If
End Sub
It's a bit complicated. Normally you could do save it with my.mysettings but you can't with listboxes.
That sucks, vs 2015 for windows 10 does not support that component :(
You have to add a reference to the wmp.dll file in the system32 folder
E il link per farmelo scaricare il windows media player tuo tuo
Subbbbbbbito
thanx bro :)
Slow Down. It's hard to follow