I made new software, LD File Browser. This software contains ListView but this ListView has error. Software works fine when I run it on F5 (debug), but when I run .exe icon I got error when I select different item in ListView. Here is the code:
TextBox1.Text = ListView1.SelectedItems(0).Text
and error image:
Now, all what I need is a valid code or way to make my software to allways ignore these erorrs. When I click continue, software still works but everytime when I select different item i got this dialog. How I can skip these error messages or just fix the code?