简体   繁体   中英

Fileopen through the FolderBrowserDialog.. How?? HELP!

This is what i got now...

    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

But i want the Output folder (The place where File.dll is saved) to be the FolderBrowserDialog1.SelectedPath... how? Anyone?

Tried FileOpen(1, FolderBrowserDialog1.SelectedPath & File & .dll, OpenMode.Output) but no :(

请注意,我了解您要执行的操作,但是您可以尝试在调用ShowDialog方法之前设置SelectedPath属性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM