DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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, 10:50 PM
  2. Exchange Public Folder script question
    By Mateo Lee in forum Enterprise
    Replies: 0
    Last Post: 03-14-2002, 04:00 PM
  3. Unable to create public folder
    By precious in forum Enterprise
    Replies: 0
    Last Post: 06-21-2001, 08:22 AM
  4. Administering Exchange Public Folder
    By WL in forum Enterprise
    Replies: 0
    Last Post: 07-06-2000, 03:15 AM
  5. Disable secondary mouse button
    By Leonardo Bosi in forum Web
    Replies: 2
    Last Post: 05-09-2000, 03:07 PM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links