JJ
2019-04-30 20:41:41 UTC
I'm in need of a file selector UI for selecting multiple files. Basically an
Open File dialog which is configured to allow multiple selections.
But because I'm in Win7, the code which uses the "UserAccounts.CommonDialog"
object no longer work because that object is provided by NUSRMGR.CPL which
is no longer available since Vista.
The other code which uses the "MSComDlg.CommonDialog", although still
usable, it uses COMDLG32.OCX which is not available in every Windows
installations. Moreover, because there's no 64-bit version of that library,
it can't be used to select files in the SYSTEM32 directory of 64-bit
Windows.
My current workaround is to use the Explorer window via "Shell.Application"
object. It works, but it just doesn't look right.
I also thought about using Internet Explorer object in a HTA file (i.e.
embedded ShellFolderView), but it only shows the folder view. There's no UI
to navigate to other directory/drive.
So, anyone know another way to provide a multiple file selector UI which is
guaranteed to work on all 64-bit Windows installations without requiring to
download anything? And without using PowerShell.
Open File dialog which is configured to allow multiple selections.
But because I'm in Win7, the code which uses the "UserAccounts.CommonDialog"
object no longer work because that object is provided by NUSRMGR.CPL which
is no longer available since Vista.
The other code which uses the "MSComDlg.CommonDialog", although still
usable, it uses COMDLG32.OCX which is not available in every Windows
installations. Moreover, because there's no 64-bit version of that library,
it can't be used to select files in the SYSTEM32 directory of 64-bit
Windows.
My current workaround is to use the Explorer window via "Shell.Application"
object. It works, but it just doesn't look right.
I also thought about using Internet Explorer object in a HTA file (i.e.
embedded ShellFolderView), but it only shows the folder view. There's no UI
to navigate to other directory/drive.
So, anyone know another way to provide a multiple file selector UI which is
guaranteed to work on all 64-bit Windows installations without requiring to
download anything? And without using PowerShell.