Article
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    APIs
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog

Home >> VB.Net >> FolderBrowserDialog Control in VB.Net
FolderBrowserDialog Control in VB.Net
FolderBrowserDialog Control in VB.Net


by Pushpendra Singh on 12/11/2010 1:55:14 PM

Views: 3506       Comments: 0

FolderBrowserDialog Control in VB.Net

A FolderBrowserDialog control is used to browse and select a folder.

How to use FolderBrowserDialog

Drag and drop FolderBrowserDialog control from toolbox on the window Form.

 

FolderBrowserDialog Control in VB.Net

FolderBrowserDialog Control in VB.Net

Drag and drop button and textbox, button for showing browser dialog and textbox to show the selected path.

Code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

 

        'FolderBrowserDialog will show

        FolderBrowserDialog1.ShowDialog()

        TextBox1.Text = FolderBrowserDialog1.SelectedPath

 

End Sub

Run the project

FolderBrowserDialog Control in VB.Net

When you click Browse button then FolderBrowserDialog will open.

FolderBrowserDialog Control in VB.Net

When you select file and click ok then path of selected file will show in the TextBox

FolderBrowserDialog Control in VB.Net

Report Abuse Form
Reason:    
 

Title :
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
     
 
Latest Article by Pushpendra SinghRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 2893
Advertisement
MindStick SurveyManager
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.