MDM UST, MSE-API, API-Einstellungen
This commit is contained in:
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.2.3.1")>
|
||||
<Assembly: AssemblyFileVersion("1.2.3.1")>
|
||||
<Assembly: AssemblyVersion("1.2.3.2")>
|
||||
<Assembly: AssemblyFileVersion("1.2.3.2")>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -156,10 +156,14 @@ Public Class usrCntlDatenarchiv
|
||||
|
||||
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
|
||||
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.search
|
||||
If r.Cells("Param_value").Value IsNot DBNull.Value AndAlso r.Cells("Param_value").Value <> "" Then
|
||||
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
|
||||
|
||||
Next
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user