2010-06-16 4 views
0

이 내가 지금 무엇을 가지고 있습니다 ...FolderBrowserDialog를 통해 Fileopen .. 어떻게? 도움!

FolderBrowserDialog1.ShowDialog() 
TextBox1.Text = FolderBrowserDialog1.SelectedPath 
    If FolderBrowserDialog1.SelectedPath = Nothing = True Then MsgBox("Select your folder..") 
    If FolderBrowserDialog1.SelectedPath = Nothing = True Then Button1.Enabled = False 
    If FolderBrowserDialog1.SelectedPath = Nothing = False Then Button1.Enabled = True 
End Sub 

    FileOpen(1, ,,,,,, & "File" & ".dll", OpenMode.Output) 
    PrintLine(1, TextBox2.Text) 
    FileClose() 

End Sub 

하지만 난이 (File.dll을 저장되는 장소) 출력 폴더 FolderBrowserDialog1.SelectedPath 될 원하는 ... 어떻게? 누군가?

시도 제공 FileOpen (1, FolderBrowserDialog1.SelectedPath & 파일 & .DLL, OpenMode.Output)하지만 :(

답변

0

참고하십시오 나는 당신이 원하는 것을 이해하지만, 당신은 전에 SelectedPath 속성을 설정하려고 할 수 있습니다 ShowDialog 메서드 호출.