473,797 Members | 3,160 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FolderBrowserDi alog 's New Folder button is always available.

In VS200

Using the System.Windows. Forms.FolderBro wserDialog control

The New Folder button is always available

Set the ShowNewFolderBu tton property to false in code prior to cal
ShowDialo
or set the ShowNewFolderBu tton property to false in the form designer hav
no effect

Any clue to get rid of that

-----need hel
-------seas

Nov 16 '05 #1
7 2276
Should have no problems with that - I've used it a million times and it
works great - make sure that you're setting the ShowNewFolderBu tton property
to true before the call the ShowDialog method and you should be just fine.

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:0B******** *************** ***********@mic rosoft.com...
In VS2003

Using the System.Windows. Forms.FolderBro wserDialog control.

The New Folder button is always available.

Set the ShowNewFolderBu tton property to false in code prior to call
ShowDialog
or set the ShowNewFolderBu tton property to false in the form designer have
no effect.

Any clue to get rid of that?

-----need help
-------seash

Nov 16 '05 #2
I think you create a new instance of this object in the code and then modify
as you want .

"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:0B******** *************** ***********@mic rosoft.com...
In VS2003

Using the System.Windows. Forms.FolderBro wserDialog control.

The New Folder button is always available.

Set the ShowNewFolderBu tton property to false in code prior to call
ShowDialog
or set the ShowNewFolderBu tton property to false in the form designer have
no effect.

Any clue to get rid of that?

-----need help
-------seash

Nov 16 '05 #3

I did everything that i could do, i tried all the methods given ISMAILRAJPUT and Branimi
but couldnt remove the New Folder button from FolderBrowserDi alog

------need hel
---------seas

----- ISMAILRAJPUT wrote: ----

I think you create a new instance of this object in the code and then modif
as you want

"seash" <an*******@disc ussions.microso ft.com> wrote in messag
news:0B******** *************** ***********@mic rosoft.com..
In VS200
Using the System.Windows. Forms.FolderBro wserDialog control
The New Folder button is always available
Set the ShowNewFolderBu tton property to false in code prior to cal

ShowDialo
or set the ShowNewFolderBu tton property to false in the form designer hav
no effect
Any clue to get rid of that
-----need hel

-------seas

Nov 16 '05 #4
"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:52******** *************** ***********@mic rosoft.com...
I did everything that i could do, i tried all the methods given ISMAILRAJPUT and Branimir but couldnt remove the New Folder button from FolderBrowserDi alog .

IIRC, this dialog behaves differently depending on the version of Windows.

Mike
Nov 16 '05 #5
I'm using XP and it's there.

--
Branimir Giurov
MCSD.NET, MCDBA
"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:C7******** *************** ***********@mic rosoft.com...


----- Michael Sparks wrote: -----

"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:52******** *************** ***********@mic rosoft.com...
> I did everything that i could do, i tried all the methods given ISMAILRAJPUT and Branimir
> but couldnt remove the New Folder button from FolderBrowserDi alog

..

IIRC, this dialog behaves differently depending on the version of Windows.
Mike

Hi Mike
u r true, In Xp OS the New Folder button is not appearing where as in Window 2000 professional its appearing.

Seash

Nov 16 '05 #6
Hi Branimir
I think u didnt get what we are talking here, i need to desable or remove the new folder button from FolderBrowserDi alog
though i had given code manually to remove it , its not happening in Windows 2000 professional os where as its happening in XP os....
regard
seash
Nov 16 '05 #7
Sorry - my bad.

Branimir

"seash" <an*******@disc ussions.microso ft.com> wrote in message
news:D5******** *************** ***********@mic rosoft.com...
Hi Branimir ,
I think u didnt get what we are talking here, i need to desable or remove the new folder button from FolderBrowserDi alog. though i had given code manually to remove it , its not happening in Windows 2000 professional os where as its happening in XP os..... regards
seash

Nov 16 '05 #8

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

Similar topics

0
1143
by: Yves Tourchot | last post by:
In VS2003 Using the System.Windows.Forms.FolderBrowserDialog control. The New Folder button is always available. Set the ShowNewFolderButton property to false in code prior to call ShowDialog or set the ShowNewFolderButton property to false in the form designer have no effect.
25
2241
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.
9
2426
by: hhh12347 | last post by:
FolderBrowserDialog crashes on my Windows 2000 computer. Here is a C# test program: using System; using System.Windows.Forms; public class TestForm : Form { FolderBrowserDialog folderBrowserDlg; OpenFileDialog openFileDlg;
0
1592
by: Tommy Clark | last post by:
I am using Microsoft Development Environment 2003 Version 7.1.3088 and .NET Framework 1.1 Version 1.1.4322 SP1. I have an MFC application that we have ported to .NET and have added the FolderBrowserDialog dialog to select a folder. This works fine if we do not preceed the dialog with a CString.Format call. When we have the call, the folder browser dialog has the buttons but not the folder tree. I am able to reproduce the problem by...
3
3622
by: Florent | last post by:
Hi all I am developping an applicatin in ASPX with C# codebehind, with VS 2003 Is it possible to include a FolderBrowserDialog on my page? I would like that when a visitor click on a button, a FolderBrowserDialog appears, he selects a folder, and when he click "Ok" in the dialog, i get back the path of the folder As far as i searched it seems to be impossible, but on Hotmail, when you create a new mail, and when you join a file, there's...
5
1970
by: Robin Tucker | last post by:
I've noticed that my program executable remains in the process list if at any stage my program has shown a FolderBrowserDialog. I am calling .Dipose on the dialog after use. This does not happen when I go through the code paths that do not create and display this dialog. Is the folder browser hanging onto something that is holding the rest of my program active on the task list? Any help would be appreciated :) Thanks.
12
5880
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a FolderBrowserDialog and nothing else. When I start the application and hit EXIT everything works fine. However if it display the FBD box (even if I don't pick a folder and immediately hit cancel) and then try to exit one of two things happens. Either (1) the...
11
3024
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 "not responding" Upon debugging, it hangs as well upon executing the line that extracts the selected folder without further explanation. All looks well in the debugger prior to executing the line marked with <<<<<< below. When I step over that...
3
6730
by: ImageAnalyst | last post by:
I'm trying to have the user browse to a folder, once they click a button, using the standard FolderBrowserDialog tool, System.Windows.Forms.FolderBrowserDialog. I'm using VB.Net 2005. There is a property, SelectedPath, that you're supposed to be able to set that will initialize the folder browser window so that the tree structure is already opened at that folder. The problem is that it doesn't seem to work. No matter what I put, it has...
0
9685
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
9537
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
10469
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10246
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...
1
10209
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7560
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
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
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.