MDM UST, MSE-API, API-Einstellungen
This commit is contained in:
@@ -231,12 +231,17 @@ Public Class frmAPIEinstellungen
|
||||
Dim tmprowindex As Integer = e.RowIndex
|
||||
If DataGridView.Columns(e.ColumnIndex).Name = "pathToFile" Then
|
||||
|
||||
If DataGridView.CurrentRow.Cells("api_debugpath").Value IsNot DBNull.Value AndAlso (DataGridView.CurrentRow.Cells("api_debugpath").Value.ToString.StartsWith("\\") Or DataGridView.CurrentRow.Cells("api_debugpath").Value.ToString.StartsWith("C:\")) Then
|
||||
Process.Start(DataGridView.CurrentRow.Cells("api_debugpath").Value)
|
||||
End If
|
||||
If DataGridView.CurrentRow.Cells("api_debugpath").Value <> "" Then
|
||||
Dim path As New System.IO.DirectoryInfo(DataGridView.CurrentRow.Cells("api_debugpath").Value)
|
||||
|
||||
If DataGridView.CurrentRow.Cells("api_debugpath").Value IsNot DBNull.Value AndAlso path.Exists Then
|
||||
Process.Start(DataGridView.CurrentRow.Cells("api_debugpath").Value)
|
||||
End If
|
||||
End If
|
||||
|
||||
Else
|
||||
|
||||
End If
|
||||
End If
|
||||
Me.Cursor = Cursors.Default
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user