Hi,
Someone can explain me this pls :
artist = MP3Info.sArtist
title = MP3Info.sTitle
space = " - "
msgbox(artist + space + title) 'it doesn"t work it only show artist
msgbox(title + space + artist) 'it work fine
oO
thanks you
Printable View
Hi,
Someone can explain me this pls :
artist = MP3Info.sArtist
title = MP3Info.sTitle
space = " - "
msgbox(artist + space + title) 'it doesn"t work it only show artist
msgbox(title + space + artist) 'it work fine
oO
thanks you
Hi.
It appears that your "artist" variable ends with NULL.
You can check this by looking at "artist.length".
If that is greater than you expected it probably means that there are characters with ASCii-code "0" in the end of the string.
Yeah, you are right, the are all 30 char lenght, so I am gonna look in the code of TAG retriever prevent this.
Thanks
BTW, do you know how to use the same way that Windows to retrieve all MP3 info cause code I found never work with variable bitrate MP3. And with windows it's always exact.
:)
Hi.
Afraid not. Sorry. But a quick search for ID3 in this forum should produce something.
I remember seeing quite a few posts about ID3 tags.
Also, you might wanna have a look in the codebank/utilitybank.
As a matter of practice, it is best not to use variable names which might conflict with reserved names in VB.NET or databases etc. Use strSpace and strTitle.Quote:
Originally posted by choas
Hi,
Someone can explain me this pls :
artist = MP3Info.sArtist
title = MP3Info.sTitle
space = " - "
msgbox(artist + space + title) 'it doesn"t work it only show artist
msgbox(title + space + artist) 'it work fine
oO
thanks you