diff --git a/Global_Indexer/frmIndex.vb b/Global_Indexer/frmIndex.vb index 3e67f69..b0ff4ee 100644 --- a/Global_Indexer/frmIndex.vb +++ b/Global_Indexer/frmIndex.vb @@ -571,7 +571,7 @@ Public Class frmIndex CURR_WORKFILE_EXTENSION = extension oRAWZielordner = WINDREAM.GetNormalizedPath(DT.Rows(0).Item("ZIEL_PFAD"), True) - oRAWZielordner = Path.Combine(WINDREAM_BASEPATH, oRAWZielordner) + oRAWZielordner = WINDREAM_BASEPATH & oRAWZielordner '#### ' Regulären Ausdruck zum Auslesen der Indexe definieren @@ -931,7 +931,10 @@ Public Class frmIndex If pIndexAttachment = False Then LOGGER.Debug("Indexing Email File: [{0}]", CURRENT_NEWFILENAME) - Dim oMsgFilePath As String = Path.Combine(WINDREAM_BASEPATH, CURRENT_NEWFILENAME) + ' This cannot use Path.Combine, otherwise the WINDREAM_BASEPATH will be swallowed... lol + 'Dim oMsgFilePath As String = Path.Combine(WINDREAM_BASEPATH, CURRENT_NEWFILENAME) + Dim oMsgFilePath As String = WINDREAM_BASEPATH & CURRENT_NEWFILENAME + Dim oMail As IMail = EMAIL.Load_Email(oMsgFilePath) Dim oMessageId As String = oMail.MessageID