hello guys can you help me with my problem
i create a media player and of course it has a playlist which is the listbox but my problem is that when i use this
x = system.io.path.getfilename(track)
and when i click the song in the playlist it does not play the song...
for the song is from C:\blah\this is war.mp3
with this code playlist.selecteditem.add(track) it will output in the playlist(listbox) is the C:\blah\this is war.mp3 and when i click that of course it will play the song
but.....
when i use this
x = system.io.path.getfilename(track)
playlist.selecteditem.add(x)
it will output in the playlist(listbox)
this is war.mp3 <-- it remove the c:\blah\
but the problem is that it does not play the song..
Can someone help me with problem?