Click here to Skip to main content
15,921,905 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz8-Jun-23 6:00
Member Alienoiz8-Jun-23 6:00 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan8-Jun-23 6:19
mveRichard MacCutchan8-Jun-23 6:19 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz8-Jun-23 7:57
Member Alienoiz8-Jun-23 7:57 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan8-Jun-23 8:04
mveRichard MacCutchan8-Jun-23 8:04 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz8-Jun-23 8:18
Member Alienoiz8-Jun-23 8:18 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz8-Jun-23 8:43
Member Alienoiz8-Jun-23 8:43 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan8-Jun-23 23:12
mveRichard MacCutchan8-Jun-23 23:12 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz9-Jun-23 6:31
Member Alienoiz9-Jun-23 6:31 
hey..i changed my library..im now using UltraID3lib.....it seems im making it but i have another question...
how do i make mass edit in a listbox?
im using this code that was working previously but is not working now:
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click




       If ListBox1.SelectedItem = "" Then
           Dim r8 As DialogResult = MessageBox.Show(Me, "No File Selected!",
                                  "Select Files", MessageBoxButtons.OK)


       Else
           If CheckBox1.Checked = False And CheckBox2.Checked = False And CheckBox3.Checked = False And CheckBox4.Checked = False And CheckBox5.Checked = False And CheckBox6.Checked = False And CheckBox7.Checked = False Then
               Dim r8 As DialogResult = MessageBox.Show(Me, "Select a tag to enter!",
                                 "Select Tags", MessageBoxButtons.OK)
           Else
               Dim fil = ListBox1.SelectedItems
               Dim fil2 As String
               For Each fil2 In fil

                   If CheckBox1.Checked = True Then
                       myMp3.ID3v2Tag.Title = TextBox1.Text
                       myMp3.Write()
                   End If


                   If CheckBox2.Checked = True Then
                       myMp3.ID3v2Tag.Artist = TextBox2.Text
                       myMp3.Write()
                   End If


                   If CheckBox3.Checked = True Then
                       myMp3.ID3v2Tag.Album = TextBox3.Text
                       myMp3.Write()
                   End If


                   If CheckBox4.Checked = True And TextBox4.Text <> "" Then
                       On Error Resume Next
                       myMp3.ID3v2Tag.Year = Short.Parse(TextBox4.Text)
                       myMp3.Write()
                       On Error Resume Next
                   End If


                   If CheckBox5.Checked = True And TextBox5.Text <> "" Then
                       myMp3.ID3v2Tag.TrackNum = Short.Parse(TextBox5.Text)
                       myMp3.Write()
                       On Error Resume Next
                   End If


                   If CheckBox6.Checked = True Then
                       myMp3.ID3v2Tag.Comments = TextBox6.Text
                       myMp3.Write()
                   End If

                   If CheckBox7.Checked = True Then
                       If ComboBox1.Text = "01 - User" Then
                           myMp3.ID3v2Tag.Genre = TextBox7.Text
                           myMp3.Write()
                       Else
                           myMp3.ID3v2Tag.Genre = ComboBox1.Text
                           myMp3.Write()
                       End If
                   End If
               Next
               Dim r9 As DialogResult = MessageBox.Show(Me, "Operation Complete!",
                         "Tagged Files!", MessageBoxButtons.OK)
           End If

       End If


can you help with this? thanks Smile | :)
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan9-Jun-23 22:12
mveRichard MacCutchan9-Jun-23 22:12 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 1:34
Member Alienoiz10-Jun-23 1:34 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan10-Jun-23 1:44
mveRichard MacCutchan10-Jun-23 1:44 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 3:31
Member Alienoiz10-Jun-23 3:31 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan10-Jun-23 3:34
mveRichard MacCutchan10-Jun-23 3:34 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 3:53
Member Alienoiz10-Jun-23 3:53 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan10-Jun-23 4:03
mveRichard MacCutchan10-Jun-23 4:03 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 4:34
Member Alienoiz10-Jun-23 4:34 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan10-Jun-23 4:51
mveRichard MacCutchan10-Jun-23 4:51 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 5:15
Member Alienoiz10-Jun-23 5:15 
GeneralRe: Crash on converting string to byte Pin
Richard MacCutchan10-Jun-23 5:39
mveRichard MacCutchan10-Jun-23 5:39 
GeneralRe: Crash on converting string to byte Pin
Member Alienoiz10-Jun-23 5:42
Member Alienoiz10-Jun-23 5:42 
GeneralRe: Crash on converting string to byte Pin
Gerry Schmitz8-Jun-23 5:07
mveGerry Schmitz8-Jun-23 5:07 
AnswerRe: Crash on converting string to byte Pin
jschell8-Jun-23 6:58
jschell8-Jun-23 6:58 
QuestionCapturing picture on an Access form by code Pin
Opam Brown28-May-23 12:06
Opam Brown28-May-23 12:06 
QuestionRe: Capturing picture on an Access form by code Pin
Richard MacCutchan28-May-23 21:05
mveRichard MacCutchan28-May-23 21:05 
AnswerRe: Capturing picture on an Access form by code Pin
Andre Oosthuizen2-Jun-23 0:15
mveAndre Oosthuizen2-Jun-23 0:15 

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.