Results 1 to 4 of 4

Thread: getting length

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    54

    getting length

    i am creating a program which returns a list of the filenames in a folder and some other relevant info such as extension, type, size etc.

    Now if the files in a folder, happens to be mp3s, is it possible that somehow i will return the length of the mp3 as well please ?

    Thank You

    P.S. I am getting the above info, by referencing the Miscrosoft Scripting.

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: getting length

    If you can find out the bitrate of the file its pretty simple, take the filesize and devide it by the bitrate......

    To find out the bitrate you can try www.wotsit.org and search for the mp3 filetype description but there might be an easier way if the scripting offers the bitrate.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    54

    Re: getting length

    but there might be an easier way if the scripting offers the bitrate.
    Does visual basic 6, offers any support to get the bitrate please ?

    Thank You

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: getting length

    Quote Originally Posted by Moxxu
    Does visual basic 6, offers any support to get the bitrate please ?

    Thank You
    Not that I've ever seen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width