vb.net FileExist returns false : I have a weird problem. I have a folder with 700+ .jpgs Then I have a Textbox with one filename per line.
Now I want to check which file does not exist in the folder, but should be there.

This is my code:


    Dim Counter As Integer = 0
                    For Each Line As String In tbFileNames.Lines
    Counter = Counter + 1
                        If (IO.File.Exists(tbFolder.Text & "\" & tbFileNames.Lines(Counter - 1).ToString & ".jpg")) = False Then
                            tbNotExistingFiles.Text = tbNotExistingFiles.Text & vbNewLine & (tbFileNames.Lines(Counter - 1).ToString)
                        Else
                        End If
                    Next



Problem: I get more than 300 "missing" files, but there should be only 7. When I search for the 
output filenames, they are in the folder, so the FileExists functions returns false, but it shouldn´t..

Where is the problem? Is it the amount of files?

Thank you.. :)
Bets regards
