CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    SHBrowseforFolder (URGENT)

    Has anybody used the SHBrowseforfolder shell function. It throws up a very nice dialog box (JUSt what I need) for Directory/Folder selection.
    HOWEVER?????
    I need to be able to limit the search to start from the ROOT of the CURRENT Directory.
    Anybody know how this is done.???


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: SHBrowseforFolder (URGENT)

    You need to provide a callback function when you specify a starting directory with the SHBrowserForFolder dialog - take a look at the code on http://www.vbaccelerator.com - there's a good class module / activex dll that shows how you can accomplish this.

    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  3. #3
    Join Date
    Sep 1999
    Location
    Germany
    Posts
    66

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured