473,325 Members | 2,872 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,325 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 3169
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.