Disable Make New Folder Button


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Disable Make New Folder Button

  1. #1
    Join Date
    Apr 2004
    Posts
    134

    Disable Make New Folder Button

    Hi,

    I have created a Browse Folder Dialog Box using Shell 32 in VB.Net 2002. But I want the 'Make New Folder' Button to be disabled or not seen. How is this possible? The code is here:

    Code:
     
    Dim oFolder As Shell32.Folder
    Dim oShell As Shell32.Shell = New Shell32.Shell()
    
    oFolder = oShell.BrowseForFolder(0, "Select a Folder:", 0, "C:\")
    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    If you call Windows' SHBrowseForFolder function directly, you may specify the BIF_NONEWFOLDERBUTTON option. If you don't want to write the code yourself, there's a reusable .NET component here: http://www.codeproject.com/cs/miscct...derbrowser.asp
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Apr 2004
    Posts
    134
    Thanks Phil. I solved using BIF_NONEWFOLDERBUTTON

Similar Threads

  1. Replies: 6
    Last Post: 06-30-2008, 11:50 PM
  2. Exchange Public Folder script question
    By Mateo Lee in forum Enterprise
    Replies: 0
    Last Post: 03-14-2002, 05:00 PM
  3. Unable to create public folder
    By precious in forum Enterprise
    Replies: 0
    Last Post: 06-21-2001, 09:22 AM
  4. Administering Exchange Public Folder
    By WL in forum Enterprise
    Replies: 0
    Last Post: 07-06-2000, 04:15 AM
  5. Disable secondary mouse button
    By Leonardo Bosi in forum Web
    Replies: 2
    Last Post: 05-09-2000, 04:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center