Dim fileName As String = My.Application.Info.DirectoryPath & "\test.eng"
Private Sub LoadProblem(ByVal fPath As String) 'ByValで値を渡す。 Dim fileName As String = fPath '以下省略