Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • 5 years later...
Posted

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++

---------

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...