There are several examples floating around of how to search a drive. Look
at www.mvps.org/vbnet for starters. You say you know how to get the tag
info, so that should be all you need.
If you'll consider a commercial solution, take a look at our Stamina
library. Among its 370+ functions is one to quickly search an entire drive
or any subtree of a drive for files matching a spec. Another is DxMP3Info
which returns an array containing the length, sample rate, etc for an MP3
file. Yet another is DxID3Tag, which returns an array containing the
individual items in the ID3 tag from an MP3 file.
--
Jim Mack
MicroDexterity, Inc
http://www.microdexterity.com
Hi.
I need to solve one problem. I want to create program which ask me for
drive (C:,D:,E:), after that program looks all .mp3 file extensions
and writes all id3 tags in one databases.
If you aren't familiar with mp3 and mp3 tags you can help me too. I
need to create program which looks in one selected drives for all .mp3
extensions. When program approach to first .mp3 file then open them
binary, an read 128 ASCII characters on end of the file
(lof(file.mp3)-127)...
Now I don't know how to make program which locates all .mp3 files in
all directories and subdirectories.
My database must look like:
DATABASE
Number (autonumber)
Title*
Artist*
Album*
Size_of_file
Mp3_Location
CD_Label (the name of inserted CD or HDD)
* data's which are in .mp3 files (I know how to get this)
, but I don't know how to make Mp3_Location (Mp3_Location looks like
e:\directory\first.mp3
e:\directory 2\second.mp3 ....
I will be glad on any help.
Thanks all.
__________
dove g