I'm writing a script that will take one or more Excel spreadsheets and use their data to update Oracle data. I'm able to call the requisite Windows open file dialog but i can't seem to then get the dialog box to accept more than one file. Please advise,
$fileDialogParameters{title} and $fileDialogParameters{dir} behave as expected. So i know the call is working. It seems however that $fileDialogParameters{options} gets ignored. Also i would think that i should be able to enter multiple options (for example OFN_ALLOWMULTISELECT and OFN_EXPLORER) but i have no idea how to do this either
use Win32::FileOp; $fileDialogParameters{title} = q(Open quota spreadsheet(s)); $fileDialogParameters{dir} = q(c:\\); $fileDialogParameters{options} = $OFN_ALLOWMULTISELECT; #also tried OF +N_ALLOWMULTISELECT @fileName = OpenDialog \%fileDialogParameters;
Win32::FileOp doc = http://interglacial.com/~sburke/tpj/as_html/tpj21.html
Thanks.
In reply to Using Win32::FileOp::OpenDialog to get multiple files by plendid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |