Click here to Skip to main content
15,911,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 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 
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 
Your first two lines duplicate each other:
VB
Dim items = ListBox1.SelectedItem() // get a list of the SelectedItem(s)
For Each items In ListBox1.SelectedItems // do the same, but duplicating the variable name

But either way they make little sense as you do not do anything with the item you pull from the ListBox.

You need something like:
VB
' I am making an assumption that the ListBox entries are names of the files to be processed
For Each file As String In ListBox1.SelectedItems ' Extract each file name
    ' So pass this name to a subroutine that will:
    '    Open the file
    '    Process all the tags according to the CheckBox settings
    '    Save and Close the file
Next

Try not to write all your code inline, as it makes it so much more dificult to read and, more importantly, to debug.
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 

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.