MS ClassUpdate entfernt
This commit is contained in:
@@ -174,9 +174,8 @@ Public Class ClassHelper
|
||||
RESULT_DOC_PATH = FORMAT_WM_PATH(RESULT_DOC_PATH)
|
||||
CURRENT_OFFICE_FILE_CHANGED = False
|
||||
If RESULT_DOC_PATH <> Nothing Then
|
||||
If USER_GENERAL_VIEWER = "NONE" Then
|
||||
Dim EXT = Path.GetExtension(RESULT_DOC_PATH)
|
||||
EXT = EXT.Replace(".", "")
|
||||
Dim EXT = Path.GetExtension(RESULT_DOC_PATH)
|
||||
EXT = EXT.Replace(".", "")
|
||||
Dim sql = String.Format("SELECT VIEWER FROM TBPMO_DOC_USER_VIEW WHERE USER_ID = {0} AND FILE_EXTENSION = '{1}'", USER_GUID, EXT)
|
||||
Dim DT As DataTable = MYDB_ECM.GetDatatable(sql)
|
||||
If DT.Rows.Count = 1 Then
|
||||
@@ -187,12 +186,6 @@ Public Class ClassHelper
|
||||
Else
|
||||
File_SYSOPEN(RESULT_DOC_PATH, DocID)
|
||||
End If
|
||||
Else
|
||||
Select Case USER_GENERAL_VIEWER
|
||||
Case "DOC-VIEW"
|
||||
OPEN_DOCVIEW(RESULT_DOC_PATH, DocID)
|
||||
End Select
|
||||
End If
|
||||
Return True
|
||||
Else
|
||||
MSGBOX_Handler("ERROR", "", "Sorry, but the docpath for doc-id: " & DocID & " is nothing!")
|
||||
|
||||
Reference in New Issue
Block a user