Pre-select a directory when browse for DIR

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
ILikeMovies
Newbie
Posts: 1
Joined: Sun May 03, 2009 11:37 pm

Pre-select a directory when browse for DIR

Post by ILikeMovies » Sat May 14, 2011 9:00 am

Hi,

When using filebrowse for files the dialog open directory correct. No problem! But when use filebrowse with DIR the dialog ALWAYS open root directory even when fbinit is set.

API BrowseForFolder has the same problem. Think i have to use: BrowseCallbackProc but dont know how with VBScript.

How can i make filebrowse to open dialog with root directory and pre-select a custom directory ? Maybe it is API call i can use.

Found post about problem:
http://vbnet.mvps.org/index.html?code/c ... llback.htm

http://www.vbforums.com/showthread.php?t=519861

None of them are VBScript.

It is user friendly to open dialog and pre-select last folder.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts