473,763 Members | 2,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BUG + FEATURE REQUEST: FolderBrowserDi alog = broke and useless

Hi,

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to
false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST be
a SpecialFolder , can we have this so we can set it to any path of our own
choosing?

Thanks

Jul 21 '05 #1
25 2235
Considering that I could set both my own path and have the "make new
folder" button go away, I'd say you are wrong.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode with Nostalgia enabled
Jul 21 '05 #2
Cor
Hi,

I do not see the problem, there is a bug in this control concerning path
names longer than 128 characters, but this I did test and works like I would
expect.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Se lectedPath =
Environment.Get FolderPath(Envi ronment.Special Folder.Personal );
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

I pasted that personal folder also in it.

I hope this helps?

Cor

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to
false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST be a SpecialFolder , can we have this so we can set it to any path of our own
choosing?

Thanks

Jul 21 '05 #3
Considering I just did that and it fails.

What version are u using because I am on 2003 upgraded from 2002 and its NOT
working.

Just because it works for you doesnt mean it isnt buggy on other setups.

You assume the world orbits around you.

That code I pasted FAILS on mine.

"Morten Wennevik" <Mo************ @hotmail.com> wrote in message
news:opr1nroj06 hntkfz@localhos t...
Considering that I could set both my own path and have the "make new
folder" button go away, I'd say you are wrong.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode with Nostalgia enabled
Jul 21 '05 #4
I DONT want to use the SPECIAL BLOODY FOLDER hence the feature request. I
cannot put in MY OWN path.

And I have the show new folder set to FALSE as you can see and its SHOWN on
the dialog. So its a version bug that you dont have but I do.

"Cor" <no*@non.com> wrote in message
news:uh******** ******@tk2msftn gp13.phx.gbl...
Hi,

I do not see the problem, there is a bug in this control concerning path
names longer than 128 characters, but this I did test and works like I would expect.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Se lectedPath =
Environment.Get FolderPath(Envi ronment.Special Folder.Personal );
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

I pasted that personal folder also in it.

I hope this helps?

Cor

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST

be
a SpecialFolder , can we have this so we can set it to any path of our own choosing?

Thanks


Jul 21 '05 #5
Let me clarify the Special Folder request

I want to set the .RootFolder to MY OWN root. Not a predefined SPECIAL
FOLDER.

And I cannot get that NewFolder button to go away with either TRUE OR FALSE,
so its a bug in my version and not yours. Geddit.

"Cor" <no*@non.com> wrote in message
news:uh******** ******@tk2msftn gp13.phx.gbl...
Hi,

I do not see the problem, there is a bug in this control concerning path
names longer than 128 characters, but this I did test and works like I would expect.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Se lectedPath =
Environment.Get FolderPath(Envi ronment.Special Folder.Personal );
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

I pasted that personal folder also in it.

I hope this helps?

Cor

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST

be
a SpecialFolder , can we have this so we can set it to any path of our own choosing?

Thanks


Jul 21 '05 #6
Well, it works when compiling with the csc.exe coming with Framework 1.1
About the setting your own definition of root, are you trying to prevent
users from accessing parent folders or just setting a startup folder which
works with
SelectedPath = "C:\\Windows\\S ystem32";

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode with Nostalgia enabled
Jul 21 '05 #7
I would say dont bother asking for help on this newsgroup again

<di********@dis cussion.microso ft.com> wrote in message
news:O$******** *****@TK2MSFTNG P10.phx.gbl...
Hi,

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to
false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST be a SpecialFolder , can we have this so we can set it to any path of our own
choosing?

Thanks

Jul 21 '05 #8
That doesnt restrict the parent accessing.


"Morten Wennevik" <Mo************ @hotmail.com> wrote in message
news:opr1nsoumv hntkfz@localhos t...
Well, it works when compiling with the csc.exe coming with Framework 1.1
About the setting your own definition of root, are you trying to prevent
users from accessing parent folders or just setting a startup folder which
works with
SelectedPath = "C:\\Windows\\S ystem32";

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
For a laugh, try web browsing with Opera's User Mode with Nostalgia enabled
Jul 21 '05 #9
I would say ignore or bugger off tard.
"James Westgate (Crainiate)" <ja***@nospam.c rainiate.com> wrote in message
news:Oo******** *****@tk2msftng p13.phx.gbl...
I would say dont bother asking for help on this newsgroup again

<di********@dis cussion.microso ft.com> wrote in message
news:O$******** *****@TK2MSFTNG P10.phx.gbl...
Hi,

The following code shows the FolderBrowserDi alog = broken.

FolderBrowserDi alog folderDialog = new FolderBrowserDi alog();
folderDialog.Sh owNewFolderButt on = false;
folderDialog.Sh owDialog();

Setting ShowNewFolderBu tton to false does bugger all. If I set this to false it is STILL shown. Genius.

There is also NO WAY to set the root directory to MY OWN path. It MUST

be
a SpecialFolder , can we have this so we can set it to any path of our own choosing?

Thanks


Jul 21 '05 #10

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

Similar topics

25
2821
by: | last post by:
Hi, The following code shows the FolderBrowserDialog = broken. FolderBrowserDialog folderDialog = new FolderBrowserDialog(); folderDialog.ShowNewFolderButton = false; folderDialog.ShowDialog(); Setting ShowNewFolderButton to false does bugger all. If I set this to false it is STILL shown. Genius.
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9383
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9992
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9819
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5268
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3916
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3519
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2790
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.