473,387 Members | 1,693 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,387 software developers and data experts.

FolderNameEditor

Hi,

I discovered recently the existence of the FolderNameEditor class which is
flagged in the MSDN help as being for internal use only, and should not be
used in apps etc. I have a good contact at Microsoft who informed me that
any undocumented features of the .NET Framework can be used, but doing so
will mean that Micorosoft will not provide support for them.

Therefore, can anyone please tell me if they are using the FolderNameEditor
class successfully and, if not, what else would you recommend? I've seen
"solutions" on the web which involve literally hundreds of lines of code to
iterate up and down directory structures etc, which I don't really want to
use. I've also seen solutions which advocate the "old VB6" way i.e. to use
the Windows API.

Also, does anyone know if this folder browsing will be available natively in
Whidbey?

Regards,

Mark
Nov 16 '05 #1
2 3174
Hi Mark,

You should not use it, as it can change on a future release of the
framework and your code can get broken, and as you don't know how it changed
( cause it's not public info.) debug and correct your code should be much
difficult.

If you have an alternate solution for the same problem I strongly advise
you to use it, you can make a DLL of it and just include it on the others
projects as needed.
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Mark Rae" <ma**@markrae.co.uk> wrote in message
news:uC**************@TK2MSFTNGP09.phx.gbl...
Hi,

I discovered recently the existence of the FolderNameEditor class which is
flagged in the MSDN help as being for internal use only, and should not be
used in apps etc. I have a good contact at Microsoft who informed me that
any undocumented features of the .NET Framework can be used, but doing so
will mean that Micorosoft will not provide support for them.

Therefore, can anyone please tell me if they are using the FolderNameEditor class successfully and, if not, what else would you recommend? I've seen
"solutions" on the web which involve literally hundreds of lines of code to iterate up and down directory structures etc, which I don't really want to
use. I've also seen solutions which advocate the "old VB6" way i.e. to use
the Windows API.

Also, does anyone know if this folder browsing will be available natively in Whidbey?

Regards,

Mark

Nov 16 '05 #2
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:O$**************@TK2MSFTNGP10.phx.gbl...
You should not use it, as it can change on a future release of the
framework and your code can get broken, and as you don't know how it changed ( cause it's not public info.) debug and correct your code should be much
difficult.


Looks like it'll be properly supported in Whidbey...

http://longhorn.msdn.microsoft.com/l...ameeditor.aspx
http://longhorn.msdn.microsoft.com/l...erbrowser.aspx

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pablo | last post by:
Friends! I need to show the dialog "select folder" and get the path selected, using vb.net. The OpenFileDialog control is useless as I want to select a folder and not a file. In vb6 I achieved...
7
by: C# newbie | last post by:
Hello, using openfiledialog, how can I retrieve the path ? thx
2
by: Mark Rae | last post by:
Hi, I discovered recently the existence of the FolderNameEditor class which is flagged in the MSDN help as being for internal use only, and should not be used in apps etc. I have a good contact...
1
by: R.A. | last post by:
Hi How can I have the grid showing something like the following: PleaseSelect Directory The needs to be clicked by the user and then I will lunch the file selection dialog.
3
by: Mrkrich | last post by:
In VB.NET it doesn't have DirListBox control, I want to retrieve the directory name so I try to use OpenFileDialog/SaveFileDialog and like I guess it retrieve the file name not directory. Does in...
7
by: Sakharam Phapale | last post by:
Hi All, I want to give option to user for selecting directory, just like for selecting file using OpenFileDialog control. How to make it possible?
0
by: archana | last post by:
Hi all, I am having one class derived from foldernameeditor which is displaying browseforfolderdialog along with showtextbox style set. What i want is if user enter path in this text box...
11
by: Grumpy Aero Guy | last post by:
I have created an app that makes use of the FolderBrowserDialog. Upon building the app, installing and running it, and invoking the form using the dialog, it hangs upon folder selection and goes...
2
by: TarheelsFan | last post by:
I was trying to convert a VB project that contained the class FolderBrowser to C#. I have added a reference to System.Design, and the FolderBrowser class now shows up, but when I call ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.