How do I use FolderBrowserDialog in Access 2003..."W/O" VS install

  • Thread starter Thread starter M.C
  • Start date Start date
M

M.C

As title, working on Access 2003 here and trying to find/utilize
"FolderBrowserDialog" without Visual Studio installed. Is it still possible?

10-4
 
M.C said:
As title, working on Access 2003 here and trying to find/utilize
"FolderBrowserDialog" without Visual Studio installed. Is it still
possible?

Dim f As FileDialog
Set f = Application.FileDialog(msoFileDialogFilePicker)
f.Show
MsgBox "file choose was " & f.SelectedItems(1)

You can use late binding if you wish (I actually recommand the following
code).

Dim f As Object
Set f = Application.FileDialog(3)
f.AllowMultiSelect = True
f.Show

MsgBox "file choosen = " & f.SelectedItems.Count

The above works well with the runtime version also....
 
Back
Top