============================== JF Software VB Modules By Joshua Foster - JF Software http://www.jfsoftware.net joshua_70448@ureach.com July 29, 2001 ============================== MP3 class module ================ Description: Procedures that work with MP3 audio files. Procedures: =========== ---------- GetTagInfo ---------- Syntax: GetTagInfo(strFileName As String) As String Description: Finds the ID3 tags in an MP3 file. (default) Return Value: Returns the song title. Also, returns properties of the MP3 file in the return properties listed below. Parameters: strFileName - Path of the MP3 file to check. Return Properties: Name: SongName Type: Boolean (Read-only) Description: The name of the song. Name: Artist Type: Boolean (Read-only) Description: The artist of the song. Name: Album Type: Boolean (Read-only) Description: The album of the song. Name: Year Type: Boolean (Read-only) Description: The year that the song was released. Name: Comment Type: Boolean (Read-only) Description: Comments Name: GenreNum Type: Boolean (Read-only) Description: A number representation of the genre of the song. Name: GenreStr Type: Boolean (Read-only) Description: A string representation of the genre of the song. Example: -------- Private cMP3 As MP3 'Define an MP3 object Private Sub Form_Load() Set cMP3 = New MP3 'Load the cMP3 object 'MsgBox the song title of a song MsgBox cMP3("C:\MySong.MP3") End Sub