fix closing doc viewer too soon
This commit is contained in:
@@ -2532,8 +2532,6 @@ Public Class frmIndex
|
|||||||
ClearError()
|
ClearError()
|
||||||
ClearNotice()
|
ClearNotice()
|
||||||
|
|
||||||
DocumentViewer1.CloseDocument()
|
|
||||||
|
|
||||||
Me.Cursor = Cursors.WaitCursor
|
Me.Cursor = Cursors.WaitCursor
|
||||||
ClassHelper.Refresh_RegexTable()
|
ClassHelper.Refresh_RegexTable()
|
||||||
For Each rowregex As DataRow In CURRENT_DT_REGEX.Rows
|
For Each rowregex As DataRow In CURRENT_DT_REGEX.Rows
|
||||||
@@ -2552,14 +2550,7 @@ Public Class frmIndex
|
|||||||
CURRENT_WORKFILE_GUID = filerow.Item("GUID")
|
CURRENT_WORKFILE_GUID = filerow.Item("GUID")
|
||||||
CURRENT_WORKFILE = filerow.Item("FILENAME2WORK")
|
CURRENT_WORKFILE = filerow.Item("FILENAME2WORK")
|
||||||
DropType = filerow.Item("HANDLE_TYPE")
|
DropType = filerow.Item("HANDLE_TYPE")
|
||||||
'Dim HandleType As String = filerow.Item("HANDLE_TYPE")
|
|
||||||
'If HandleType = "|DROPFROMFSYSTEM|" Then
|
|
||||||
' DropType = "dragdrop file"
|
|
||||||
'ElseIf HandleType = "|OUTLOOK_ATTMNT|" Then
|
|
||||||
' DropType = "dragdrop attachment"
|
|
||||||
'ElseIf HandleType = "|OUTLOOKMESSAGE|" Then
|
|
||||||
' DropType = "dragdrop message"
|
|
||||||
'End If
|
|
||||||
If WORK_FILE() = False Then
|
If WORK_FILE() = False Then
|
||||||
err = True
|
err = True
|
||||||
Exit For
|
Exit For
|
||||||
|
|||||||
Reference in New Issue
Block a user