fix: make CURRENT_NEWFILENAME for email indexing
This commit is contained in:
parent
ce6c55b448
commit
2b88a16e53
@ -697,6 +697,9 @@ Public Class frmIndex
|
|||||||
End Function
|
End Function
|
||||||
Private Function Write_Indizes()
|
Private Function Write_Indizes()
|
||||||
Try
|
Try
|
||||||
|
_Logger.NewBlock("Write_Indizes")
|
||||||
|
_Logger.Info("Indexing file [{0}]", CURRENT_NEWFILENAME)
|
||||||
|
|
||||||
Dim indexierung_erfolgreich As Boolean = False
|
Dim indexierung_erfolgreich As Boolean = False
|
||||||
'Manuelle Indexe Indexieren
|
'Manuelle Indexe Indexieren
|
||||||
Dim DTMan As DataTable = MyDataset.VWDDINDEX_MAN
|
Dim DTMan As DataTable = MyDataset.VWDDINDEX_MAN
|
||||||
@ -833,6 +836,8 @@ Public Class frmIndex
|
|||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
ShowErrorMessage(ex, "Write_Indizes")
|
ShowErrorMessage(ex, "Write_Indizes")
|
||||||
Return False
|
Return False
|
||||||
|
Finally
|
||||||
|
_Logger.EndBlock()
|
||||||
End Try
|
End Try
|
||||||
Return True
|
Return True
|
||||||
End Function
|
End Function
|
||||||
@ -851,7 +856,8 @@ Public Class frmIndex
|
|||||||
Dim indexierung_erfolgreich As Boolean = False
|
Dim indexierung_erfolgreich As Boolean = False
|
||||||
Dim _step As String = "1"
|
Dim _step As String = "1"
|
||||||
Try
|
Try
|
||||||
Dim msg As Msg.Message = New Msg.Message(CURRENT_NEWFILENAME)
|
Dim oTempPath As String = Path.Combine("\\windream\objects", CURRENT_NEWFILENAME)
|
||||||
|
Dim msg As Msg.Message = New Msg.Message(oTempPath)
|
||||||
Dim msgDisplayTo = msg.DisplayTo
|
Dim msgDisplayTo = msg.DisplayTo
|
||||||
Dim msgInternetAccountName = msg.InternetAccountName
|
Dim msgInternetAccountName = msg.InternetAccountName
|
||||||
If LogErrorsOnly = False Then
|
If LogErrorsOnly = False Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user