[dba-VB] commondialog

Seth Galitzer sgsax at ksu.edu
Fri Sep 17 11:46:44 CDT 2004


Bill,

I don't know if it's available in the activex control, but you can use
API calls to reference the SHBrowseForFolder function in shell32.dll. 
There are many examples of usage on the web which you can find if you
google for that function name.  Also, if you go to the Downloads area of
my website (http://puma.agron.ksu.edu/~sgsax/), my ChopIt demo includes
code for using it.

Good luck!
Seth



On Fri, 2004-09-17 at 11:05, bkollodge at parkindustries.com wrote:
> Does anyone know how to select a folder using a commondialog?  I realize
> I can extract the folder from the filename - IF a file exists in the
> desired folder and is selected.  The problem comes when the desired
> folder is empty...
> 
> Thanks,
> Bill
> 
> 
> 
> 
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University




More information about the dba-VB mailing list