i got some errors System.FormatException while adding jpg files...
my code is
Private Sub btnReloadFolders_Click(sender As Object, e As EventArgs) Handles btnReloadFolders.Click
Try
Lsi.Items.Clear()
Lsi.SuspendLayout()
For Each _itm As ListViewItem In LsvFolder.CheckedItems
Dim _dirpath$ = _itm.SubItems(2).Text
If My.Computer.FileSystem.DirectoryExists(_dirpath$) = True Then
Lsi.Items.AddRange(My.Computer.FileSystem.GetFiles(_dirpath$, FileIO.SearchOption.SearchTopLevelOnly, "*.jpg").ToArray)
End If
Next
Catch ex As Exception
Finally
Lsi.ResumeLayout() : Lsi.Invalidate() : Lsi.Update() : Lsi.Refresh()
End Try
End Sub
Original issue reported on code.google.com by avsraj1...@gmail.com on 6 Aug 2014 at 11:24
Original issue reported on code.google.com by
avsraj1...@gmail.com
on 6 Aug 2014 at 11:24Attachments: