Click here to Skip to main content
16,016,580 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
OK...so i have a listbox with files (mp3) and im trying to edit the tags..i can do one by one but i do not know how to tag them all at once. i want to implement this code in all files of the listbox just by using a button.

<pre lang="VB"><pre>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

                    If CheckBox8.Checked = True Then

                    End If



                End If

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 
AnswerRe: Capturing picture on an Access form by code Pin
jschell29-May-23 6:13
jschell29-May-23 6:13 
AnswerRe: Capturing picture on an Access form by code Pin
Gerry Schmitz29-May-23 7:14
mveGerry Schmitz29-May-23 7:14 
Questionwhat is visual basic used for Pin
Simon Osabo Asamoah27-May-23 18:33
Simon Osabo Asamoah27-May-23 18:33 
AnswerRe: what is visual basic used for Pin
Richard MacCutchan27-May-23 20:53
mveRichard MacCutchan27-May-23 20:53 
AnswerRe: what is visual basic used for Pin
Andre Oosthuizen2-Jun-23 0:17
mveAndre Oosthuizen2-Jun-23 0:17 
GeneralRe: what is visual basic used for Pin
Ralf Meier2-Jun-23 10:13
mveRalf Meier2-Jun-23 10:13 

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.