Fileopen trough the FolderBrowserDialog.. How?? HELP!

Posted by thunderbass on Stack Overflow See other posts from Stack Overflow or by thunderbass
Published on 2010-06-16T21:58:29Z Indexed on 2010/06/16 22:02 UTC
Read the original article Hit count: 280

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 were File.dll is saved) to be the FolderBrowserDialog1.SelectedPath... how? Anyone?

Tryed FileOpen(1, FolderBrowserDialog1.SelectedPath & File & .dll, OpenMode.Output) but nop :(

Help plzzz

© Stack Overflow or respective owner

Related posts about folderbrowserdialog

Related posts about fileopen