hey anass, look i saw that u always use the mouse to select the codes and the strings, i gotta better idea for u, try to use the tab button, select the code or the string u want with arrow keys and select them with the tab button, your egyptain friend ;) Amr, plz send me your facebook if u have one, ana fe3lan 3agbaaanih videohataak ya 3am, begad 2enta gamed fash5 ka programmer, 3awzeen neb2a netkalem we keda yemken 2a2blak we keda, 2eshta??
I have made a media player and the listbox has the safe file name. Basically, I can get it to search with the name of the file selected in the list box, but the safe file name searches with the extension (.mp3). Can I get it to search all of the text but exclude what ever comes after the dot?
you can get the file name without the extension which comes after the dot using this code
dim fn as string
fn = Path.GetFileNameWithoutExtension(fileName)
and of course replace "filename" with the file location
but this may not work good with this tutorial as the file name may contain characters not in the song title, so you can use the ID3 tags to get the exact song title, search on google for "id3 in vb.net".
i was trying to do that but each time i forget a quote or add an extra one, so i was getting an error each time, i got bored and used Chr(34) instead, anyways thnx a lot
hey anass, look i saw that u always use the mouse to select the codes and the strings, i gotta better idea for u, try to use the tab button, select the code or the string u want with arrow keys and select them with the tab button, your egyptain friend ;) Amr, plz send me your facebook if u have one, ana fe3lan 3agbaaanih videohataak ya 3am, begad 2enta gamed fash5 ka programmer, 3awzeen neb2a netkalem we keda yemken 2a2blak we keda, 2eshta??
ak1edition 1 year ago
i will pm you, msh 3aref el youtube malo msh rady ye3mel el comment elly kont haktebo
anass2008 1 year ago
that chr 34 is the most annoying bit of code i have ever had to put in...
BuLLeTzZmUsIc 1 year ago
Sorry for that :D the Chr34 is the " and the part that we need has a lot of these
anass2008 1 year ago
What an awesome video!
luckyguy457321 1 year ago
Hey, this works great except for me..
I have made a media player and the listbox has the safe file name. Basically, I can get it to search with the name of the file selected in the list box, but the safe file name searches with the extension (.mp3). Can I get it to search all of the text but exclude what ever comes after the dot?
gerbilplay4 1 year ago
you can get the file name without the extension which comes after the dot using this code
dim fn as string
fn = Path.GetFileNameWithoutExtension(fileName)
and of course replace "filename" with the file location
but this may not work good with this tutorial as the file name may contain characters not in the song title, so you can use the ID3 tags to get the exact song title, search on google for "id3 in vb.net".
anass2008 1 year ago
@anass2008 Many thanks for your superb answer!
gerbilplay4 1 year ago
If you want to use the character " in a string, don't end the string and attach Chr(34) to it. Just write "" in the string. A double quot is a quot.
bartjoyce 1 year ago
i was trying to do that but each time i forget a quote or add an extra one, so i was getting an error each time, i got bored and used Chr(34) instead, anyways thnx a lot
anass2008 1 year ago
thanks man. and the music.. whos the singer?
adminindonesia 1 year ago
your welcome.
Akcent - thats my name
Akcent - King of disco
anass2008 1 year ago
thanks man your the best.
TheComputerFIX 1 year ago
how do you make the album art fit inside the picturebox
TheComputerFIX 1 year ago
there is a link for a code sample .txt file on how to do this in the description
anass2008 1 year ago
very cool!
00R3B0RN00 1 year ago
Nice tutorial! been a while, but worth it!
mattydavid13 1 year ago
how would i get this program to save the picture into my files?
thisguyisuntraceable 1 year ago
PictureBox1.Image.Save(where to save)
you can use this code with a Save file dialog and change "where to save" to "savefiledialog1.filename"
anass2008 1 year ago
@anass2008 Thanks, I learn something new every day.
thisguyisuntraceable 1 year ago
@anass2008 Scrap that, im having trouble with that
thisguyisuntraceable 1 year ago
whats wrong?
anass2008 1 year ago
@anass2008 im a bit of a retard lol
thisguyisuntraceable 1 year ago
Good!
cheatonly2win 1 year ago
Should of added a progress bar :D
KrazyHD 1 year ago
coool
zainuintel 1 year ago