Skip to content

Commit

Permalink
Initial Directory was not being set properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1956 committed Feb 2, 2020
1 parent fa55627 commit fb33d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CSharpToVB/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ Public Class Form1
With OpenFileDialog1
.AddExtension = True
.DefaultExt = LanguageExtension
.InitialDirectory = My.Settings.DefaultProjectDirectory
.FileName = ""
.Filter = If(LanguageExtension = "vb", "VB Code Files (*.vb)|*.vb", "C# Code Files (*.cs)|*.cs")
SaveFileDialog1.FilterIndex = 0
Expand Down

0 comments on commit fb33d1e

Please sign in to comment.