473,382 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Customize FolderBrowseDialog .Net c#

84
Hi Guys,
I am looking to add a few radio button at the bottom of FolderBrowseDialog in .Net. As it is a part of CommonDialog, then it should be easy to customize however I have never done this and having lots of problems with this.

I would just like to have a usercontrol which appends to the bottom and i can design the usercontrol according to my wish.


Please help guys - any example would be highly appreciated as this is urgent!!!!!
May 7 '09 #1
1 2063
tlhintoq
3,525 Expert 2GB
FolderBrowserDialog is a sealed class. I don't think you can inherit from it.

So I think this leaves you with making your own from scratch.

Start with a UserControl.
Add a TreeViewControl (this will hold your folder tree)
Add buttons and radio dials as you describe you want.

On opening, populate your TreeView with all the drives of your PC.
On TreeNode.Expand read the folders for that drive and add them to the treeview. (this happens every time a TreeNode is expanded
On Ok, return the path of the selected node or null if no node selected.
May 7 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: sonali_reddy123 | last post by:
Hi, I a facing a problem regarding use of a FolderBrowseDialog in VB.NET. If i select a long path name using the browse dialog then I am getting exception when I say ok to use the selected path...
3
by: Yura Tigiev | last post by:
Hello! Is it possible to write (classical windows with My computers, My Desctop, My networks Places end etc ) FolderBrowseDialog without use WinApi? If yes, can you send source code ? Yuri
0
by: Wilfried Mestdagh | last post by:
Hi, How to set FolderBrowseDialog.Location ? I want to position it in the center of the calling form. Is this possible ? -- rgds, Wilfried http://www.mestdagh.biz
2
by: Peter Lykkegaard | last post by:
Hi All I am looking for a FolderBrowseDialog where I can set a "currentfolder" eg if currentfolder is c:\program files\myapp\data\ etc Not just the common standard folder like "my computer",...
9
by: Charts | last post by:
I use VS2005 to build a asp.net 2.0 project. I want to be able to click a button on the page and have a dialog window appear where I can navigate the folders to get hold of a file path to load...
1
by: Andrue Cope | last post by:
Hi, We have a strange problem. We are invoking the FolderBrowseDialog and have found that if we cancel that dialog within a few seconds of it appearing it causes one of our (completely...
1
by: =?utf-8?B?5qKm5Zyo5aSp5rav?= | last post by:
in the .net freamwork2.0, the openfiledialog support FTP, but the FolderBrowseDialog still do not support the FTP . now i want to make the FolderBrowseDialog to support FTP . can you give me some...
0
by: Newbie19 | last post by:
I'm trying to use folderbrowsedialog on an ASP.net web site to search a network folder and subfolders within for xml or .txt docs that contain data on those subfolders. I was wondering the best way...
0
by: Sky | last post by:
I have an Access 2003 front-end database with custom toolbars. The toolbars work fine. One annoying feature is that at the far right edge of each custom toolbar there a small dropdown arrow....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.