Folderbrowserdialog Search

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SammyB
    Recognized Expert Contributor
    • Mar 2007
    • 807

    #16
    This should help:
    Code:
    	Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    		With FolderBrowserDialog1
    			.Description = "Select your folder"
    			.RootFolder = Environment.SpecialFolder.MyDocuments
    			.ShowNewFolderButton = True
    			If .ShowDialog() = Windows.Forms.DialogResult.OK Then
    				MsgBox(.SelectedPath)
    			End If
    		End With
    	End Sub

    Comment

    • computerenigma13
      New Member
      • Mar 2007
      • 36

      #17
      Originally posted by SammyB
      This should help:
      Code:
      	Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      		With FolderBrowserDialog1
      			.Description = "Select your folder"
      			.RootFolder = Environment.SpecialFolder.MyDocuments
      			.ShowNewFolderButton = True
      			If .ShowDialog() = Windows.Forms.DialogResult.OK Then
      				MsgBox(.SelectedPath)
      			End If
      		End With
      	End Sub
      thanks this should work

      Comment

      • computerenigma13
        New Member
        • Mar 2007
        • 36

        #18
        thanks now i just need it to use a text box to make filters

        Comment

        • SammyB
          Recognized Expert Contributor
          • Mar 2007
          • 807

          #19
          Originally posted by computerenigma1 3
          thanks now i just need it to use a text box to make filters
          What are filters?

          Comment

          • SammyB
            Recognized Expert Contributor
            • Mar 2007
            • 807

            #20
            Originally posted by computerenigma1 3
            thanks now i just need it to use a text box to make filters
            Ahh, never mind. He's refering to another thread, http://www.thescripts.com/forum/thread616134.html

            Please post any other replies over there.

            Comment

            • computerenigma13
              New Member
              • Mar 2007
              • 36

              #21
              the filters are what it searches for in the folder and moves just the specified file type

              Comment

              Working...