File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Namespace Scripts
90
90
Dim sql As String = Convert.ToString((Convert.ToString( "SELECT * FROM " ) & tableName) + " ORDER BY " ) & columnName
91
91
92
92
Using da = New SqlCeDataAdapter(sql, Connection())
93
- da.Fill(DateFormatTable )
93
+ da.Fill(TimeFormatTable )
94
94
End Using
95
95
96
96
TimeFormatTable.DefaultView.Sort = columnName & Convert.ToString( " asc" )
Original file line number Diff line number Diff line change @@ -397,6 +397,10 @@ Namespace Scripts
397
397
Case "btnFormatDate" , "btnTableAlias" , "btnFormatTime"
398
398
AppVariables.TableName = Control.Tag
399
399
OpenTableDataPane()
400
+ Case "btnSnippingTool"
401
+ OpenSnippingTool()
402
+ Case "btnProblemStepRecorder"
403
+ OpenProblemStepRecorder()
400
404
End Select
401
405
402
406
Catch ex As Exception
@@ -1203,6 +1207,30 @@ Namespace Scripts
1203
1207
End Try
1204
1208
End Function
1205
1209
1210
+ Public Sub OpenSnippingTool()
1211
+ Dim filePath As String
1212
+ Try
1213
+ If System.Environment.Is64BitOperatingSystem Then
1214
+ filePath = "C:\Windows\sysnative\SnippingTool.exe"
1215
+ Else
1216
+ filePath = "C:\Windows\system32\SnippingTool.exe"
1217
+ End If
1218
+
1219
+ System.Diagnostics.Process.Start(filePath)
1220
+ Catch ex As Exception
1221
+ ErrorHandler.DisplayMessage(ex)
1222
+ End Try
1223
+ End Sub
1224
+
1225
+ Public Sub OpenProblemStepRecorder()
1226
+ Dim filePath As String = "C:\Windows\System32\psr.exe"
1227
+ Try
1228
+ System.Diagnostics.Process.Start(filePath)
1229
+ Catch ex As Exception
1230
+ ErrorHandler.DisplayMessage(ex)
1231
+ End Try
1232
+ End Sub
1233
+
1206
1234
# End Region
1207
1235
1208
1236
End Class
You can’t perform that action at this time.
0 commit comments