diff --git a/Global_Indexer/My Project/AssemblyInfo.vb b/Global_Indexer/My Project/AssemblyInfo.vb index 0c8957d..2766b7f 100644 --- a/Global_Indexer/My Project/AssemblyInfo.vb +++ b/Global_Indexer/My Project/AssemblyInfo.vb @@ -15,7 +15,7 @@ Imports System.Runtime.InteropServices - + @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + \ No newline at end of file diff --git a/Global_Indexer/frmStart.vb b/Global_Indexer/frmStart.vb index c568898..6a24057 100644 --- a/Global_Indexer/frmStart.vb +++ b/Global_Indexer/frmStart.vb @@ -520,12 +520,12 @@ Public Class frmStart MsgBox("DEBUG - Check TBGI_FILES_USER if necessary. Command copied to Clipboard") End If - For Each row As DataRow In DTACTUAL_FILES.Rows - Dim FILEGUID = row.Item("GUID") + For Each oRow As DataRow In DTACTUAL_FILES.Rows + Dim FILEGUID = oRow.Item("GUID") If ABORT_INDEXING = True Then Exit For End If - Dim FileForWork As String = row.Item(1) + Dim FileForWork As String = oRow.Item("FILENAME2WORK") LOGGER.Info(">> In Timer Folderwatch - File: " & FileForWork) Dim fileInUse As Boolean = FILE_HANDLER.IsFileInUse(FileForWork) Dim fileexists As Boolean = System.IO.File.Exists(FileForWork) @@ -533,8 +533,8 @@ Public Class frmStart If fileexists = True Then CURRENT_FILENAME = FileForWork CURRENT_WORKFILE = FileForWork - CURRENT_WORKFILE_GUID = row.Item("GUID") - CURRENT_WORKFILE_HASH = row.Item("FILE_HASH") + CURRENT_WORKFILE_GUID = oRow.Item("GUID") + CURRENT_WORKFILE_HASH = oRow.Item("FILE_HASH") Open_IndexDialog() Else @@ -543,7 +543,7 @@ Public Class frmStart DATABASE_ECM.ExecuteNonQuery(del) End If Else - LOGGER.Info(">> file '" & row.Item(1) & "' could not be opened exclusively - fileInUse!") + LOGGER.Info(">> file '" & FileForWork & "' could not be opened exclusively - fileInUse!") End If Next