Results 1 to 3 of 3

Thread: How to open a FolderDialog

  1. #1

    Thread Starter
    Fanatic Member sridharavijay's Avatar
    Join Date
    Sep 2002
    Location
    http://www.vijaysridhara.in
    Posts
    589

    How to open a FolderDialog

    I want to open a FolderDialog to select a folder, can you tell me which dll I should add to the project?
    Thanks
    Vijay S

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to open a FolderDialog

    Are you using VB.NET 2002 or 2003+? If it's 2002 then you're out of luck as it doesn't exist. If it's 2003 or later then it's sitting in your Toolbox already. You can add it to a form or create one in code without further qualification, as it's a member of the System.Windows.Forms namespace which is imported into WinForms projects by default. If you are using 2002 you can create your own without too much effort. RobDog888 has posted some code somewhere for just that and there's an MSDN article that does the same thing I think, which I've linked to somewhere in the forums. A search should turn up something useful.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member sridharavijay's Avatar
    Join Date
    Sep 2002
    Location
    http://www.vijaysridhara.in
    Posts
    589

    Re: How to open a FolderDialog

    Oh yeah... It wasn't added in toolbox items.. now its there
    thanks
    Vijay

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width