Benachrichtigung

This commit is contained in:
2024-01-29 14:27:16 +01:00
parent e383a3e6a7
commit bc90be294b
3 changed files with 37 additions and 14 deletions

View File

@@ -1844,7 +1844,15 @@ Public Class usrcntlAktDetails
Try
If tbcntlVermerke.SelectedTab Is tbAnhang Then
If gridVermerke.SelectedRows.Count > 0 Then
Process.Start(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(gridVermerke.SelectedRows(0).Cells("anh_docId").Value))
Dim path = VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(gridVermerke.SelectedRows(0).Cells("anh_docId").Value)
If path <> "" Then
If File.Exists(path) Then
Process.Start(path)
Else
MsgBox("ERROR ANHANG: Die Datei existiert nicht!")
End If
End If
End If
End If
Catch ex As Exception