Click to See Complete Forum and Search --> : SHBrowseforFolder (URGENT)
February 3rd, 2000, 11:10 AM
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.???
Chris Eastwood
February 3rd, 2000, 03:56 PM
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
smalig
February 4th, 2000, 07:10 AM
Here's your answer
http://vbcode.webhostme.com/en/click.asp?id=40
smalig@hotmail.com
http://vbcode.webhostme.com/
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.