FolderBrowserDialog

Lou Elston

Newcomer
Joined
Oct 21, 2003
Messages
23
I am using Visual Studios 2003 and Visual basic, and have created a program that displays the FolderBrowserDialog.
I diabale the ShowNewFolderButton, because I do not want the user to create a new folder, just select a folder.

When I run this on my development system (Win XP), the 'new folder' button does not show. When I go to test this on a Win 2000 Server system, the 'create new folder' button shows. Why??? I am running the test environment under VMWare, but I can't see that as the problem. What am I doing wrong? Thanks.

This is the code....

Dim MyDialog As New FolderBrowserDialog
MyDialog.Description = "Select the folder to create a directory and file list from"
MyDialog.ShowNewFolderButton = False
Application.DoEvents()

lblEvent.Visible = True
lblEvent.Text = Now & " Creating List file - Please wait"
Application.DoEvents()
If (MyDialog.ShowDialog() = DialogResult.OK) Then
 
The ShowNewFolderButton property does not work on Windows 2000 Server AFAIK.

---------
- G Himangi, LogicNP Software http://www.ssware.com
Shell MegaPack: GUI Controls For Drop-In Windows Explorer like File/Folder Browsing Functionality (.Net & ActiveX Editions).
EZNamespaceExtensions: Develop namespace extensions rapidly in .Net and MFC/ATL/C++
EZShellExtensions: Develop all shell extensions,explorer bars and BHOs rapidly in .Net & MFC/ATL/C++
---------
 
Back
Top