MDM UST, MSE-API, API-Einstellungen
This commit is contained in:
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.2.3.1")>
|
<Assembly: AssemblyVersion("1.2.3.2")>
|
||||||
<Assembly: AssemblyFileVersion("1.2.3.1")>
|
<Assembly: AssemblyFileVersion("1.2.3.2")>
|
||||||
|
|||||||
@@ -231,9 +231,14 @@ Public Class frmAPIEinstellungen
|
|||||||
Dim tmprowindex As Integer = e.RowIndex
|
Dim tmprowindex As Integer = e.RowIndex
|
||||||
If DataGridView.Columns(e.ColumnIndex).Name = "pathToFile" Then
|
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
|
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)
|
Process.Start(DataGridView.CurrentRow.Cells("api_debugpath").Value)
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -156,10 +156,14 @@ Public Class usrCntlDatenarchiv
|
|||||||
|
|
||||||
For Each r As DataGridViewRow In .Rows
|
For Each r As DataGridViewRow In .Rows
|
||||||
|
|
||||||
If r.Cells("Param_value").Value IsNot DBNull.Value AndAlso r.Cells("Param_value").Value.ToString.StartsWith("\\") Then
|
If r.Cells("Param_value").Value IsNot DBNull.Value AndAlso r.Cells("Param_value").Value <> "" Then
|
||||||
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.search
|
Dim path As New System.IO.DirectoryInfo(r.Cells("Param_value").Value)
|
||||||
|
|
||||||
|
If path.Exists Then
|
||||||
|
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.search
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user