You should be able to use the windows media encoder SDK to figure that out I think....
>I am using VFP 6.0 and wonder if there is a function, similar to FSIZE(), that would calculate the length of a song (.wav or .mp3) in minutes:seconds based on the file's size in bytes. I've been able to write the code to perform this task, not very pretty code, but wondered if a function exists in VFP, or if someone knows of some elegant code to perform the task.
>
>Thanks in advance,
>
>Tim
ICQ 10556 (ya), 254117