diff --git a/Global_Indexer/frmIndex.vb b/Global_Indexer/frmIndex.vb index a1d9bb5..c655627 100644 --- a/Global_Indexer/frmIndex.vb +++ b/Global_Indexer/frmIndex.vb @@ -2740,8 +2740,6 @@ Public Class frmIndex MsgBox("All files were successfully processed through Multiindexing", MsgBoxStyle.Information, "Success") End If - EMAIL.Clear_TempFiles() - DocumentViewer1.CloseDocument() DocumentViewer1.Done() @@ -2761,8 +2759,6 @@ Public Class frmIndex End If End If - EMAIL.Clear_TempFiles() - DocumentViewer1.CloseDocument() DocumentViewer1.Done() @@ -2770,6 +2766,9 @@ Public Class frmIndex Me.Close() End If End If + + + EMAIL.Clear_TempFiles() Me.Cursor = Cursors.Default End Sub