Skip to content

Commit

Permalink
Select the file we want to point to in File Explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Mar 9, 2024
1 parent c7173a0 commit da6177a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified Installer/Output/dt_setup.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions MainForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -11637,7 +11637,7 @@ Public Class MainForm
End Sub

Private Sub ExplorerView_Click(sender As Object, e As EventArgs) Handles ExplorerView.Click, Button22.Click
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) & "\explorer.exe", projPath)
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) & "\explorer.exe", "/select," & Quote & projPath & "\" & projName.Text & ".dtproj" & Quote)
End Sub

Private Sub GetImageInfo_Click(sender As Object, e As EventArgs) Handles GetImageInfo.Click
Expand Down Expand Up @@ -15065,7 +15065,7 @@ Public Class MainForm
End Sub

Private Sub LinkLabel16_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel16.LinkClicked
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) & "\explorer.exe", projPath)
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) & "\explorer.exe", "/select," & Quote & projPath & "\" & projName.Text & ".dtproj" & Quote)
End Sub

Private Sub LinkLabel17_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel17.LinkClicked
Expand Down
2 changes: 1 addition & 1 deletion Panels/DoWork/ProgressPanel.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5576,7 +5576,7 @@ Public Class ProgressPanel
Visible = False
ImgConversionSuccessDialog.ShowDialog(MainForm)
If ImgConversionSuccessDialog.DialogResult = Windows.Forms.DialogResult.OK Then
Process.Start("\Windows\explorer.exe", Path.GetDirectoryName(imgDestFile))
Process.Start("\Windows\explorer.exe", "/select," & Quote & imgDestFile & Quote)
End If
ElseIf OperationNum = 996 Then
MainForm.DetectMountedImages(False)
Expand Down

0 comments on commit da6177a

Please sign in to comment.