Click here to Skip to main content
15,891,253 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to use single MDI Child Form for all Crystal reports Pin
Mycroft Holmes5-Oct-08 22:55
professionalMycroft Holmes5-Oct-08 22:55 
Questionincluding line/scatter chart in VB.net Pin
Amanjot5-Oct-08 13:42
Amanjot5-Oct-08 13:42 
AnswerRe: including line/scatter chart in VB.net Pin
Rupesh Kumar Swami5-Oct-08 20:41
Rupesh Kumar Swami5-Oct-08 20:41 
AnswerRe: including line/scatter chart in VB.net Pin
Thomas Stockwell6-Oct-08 6:14
professionalThomas Stockwell6-Oct-08 6:14 
AnswerRe: including line/scatter chart in VB.net Pin
Dave Kreskowiak6-Oct-08 6:20
mveDave Kreskowiak6-Oct-08 6:20 
GeneralRe: including line/scatter chart in VB.net Pin
Amanjot6-Oct-08 16:29
Amanjot6-Oct-08 16:29 
GeneralRe: including line/scatter chart in VB.net Pin
Dave Kreskowiak7-Oct-08 2:01
mveDave Kreskowiak7-Oct-08 2:01 
Questionfilestream not working properly Pin
kjdion5-Oct-08 10:16
kjdion5-Oct-08 10:16 
Trying to get the title and artist data from the id3v1 in a .mp3 file

id3v1 info = http://www.id3.org/ID3v1

Heres more code:

Private Sub bAddFolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bAddFolder.Click

    For Each filePath As String In IO.Directory.GetFiles(DirListBox1.Path, "*.mp3", IO.SearchOption.AllDirectories)

        Dim Title(30) As Byte
        Dim Artist(30) As Byte
        Dim mp As FileStream = New FileStream(filePath, FileMode.Open)

        mp.Seek(-125, SeekOrigin.End)
        mp.Read(Title, 0, 30)
        mp.Seek(-95, SeekOrigin.End)
        mp.Read(Artist, 0, 30)
        mp.Close()

        Dim TxtTitle As String = System.Text.Encoding.Default.GetString(Title)
        Dim TxtArtist As String = System.Text.Encoding.Default.GetString(Artist)

        fMain.ListView1.Items.Add(TxtArtist + " - " + TxtTitle).SubItems.Add(filePath)

    Next

End Sub


Whats happening is it doesn't seem to be reading the data correctly....I get blanks in my listview or weird characters or just the artist and no title....all the mp3's i am testing have both the artist and title data in them (i checked through winamp)
AnswerRe: filestream not working properly Pin
jzonthemtn5-Oct-08 11:40
jzonthemtn5-Oct-08 11:40 
AnswerRe: filestream not working properly Pin
Guffa5-Oct-08 22:55
Guffa5-Oct-08 22:55 
Questionneed help on FUnctions Pin
ay3ssah5-Oct-08 5:59
ay3ssah5-Oct-08 5:59 
AnswerRe: need help on FUnctions Pin
AlexeiXX35-Oct-08 7:22
AlexeiXX35-Oct-08 7:22 
GeneralRe: need help on FUnctions Pin
ay3ssah5-Oct-08 18:58
ay3ssah5-Oct-08 18:58 
AnswerRe: need help on FUnctions Pin
Guffa5-Oct-08 7:31
Guffa5-Oct-08 7:31 
GeneralRe: need help on FUnctions Pin
ay3ssah5-Oct-08 18:56
ay3ssah5-Oct-08 18:56 
GeneralRe: need help on FUnctions Pin
AlexeiXX35-Oct-08 19:05
AlexeiXX35-Oct-08 19:05 
AnswerRe: need help on FUnctions Pin
Anoop Brijmohun6-Oct-08 0:53
Anoop Brijmohun6-Oct-08 0:53 
GeneralRe: need help on FUnctions Pin
ay3ssah6-Oct-08 2:51
ay3ssah6-Oct-08 2:51 
QuestionWriting a catch error handing Pin
zo9005-Oct-08 2:06
zo9005-Oct-08 2:06 
QuestionRe: Writing a catch error handing Pin
jzonthemtn5-Oct-08 7:42
jzonthemtn5-Oct-08 7:42 
AnswerRe: Writing a catch error handing Pin
zo9005-Oct-08 8:19
zo9005-Oct-08 8:19 
GeneralRe: Writing a catch error handing Pin
jzonthemtn5-Oct-08 8:30
jzonthemtn5-Oct-08 8:30 
GeneralRe: Writing a catch error handing Pin
zo9005-Oct-08 8:40
zo9005-Oct-08 8:40 
QuestionHow do I show an uncommon image format? Pin
Sonhospa4-Oct-08 0:56
Sonhospa4-Oct-08 0:56 
AnswerRe: How do I show an uncommon image format? Pin
Dave Kreskowiak4-Oct-08 5:25
mveDave Kreskowiak4-Oct-08 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.