You could try this multisel option.

   -multisel => 10, # use 40000 byte buffer



-----Original Message-----
From: Octavian Rasnita [mailto:orasn...@gmail.com] 
Sent: Thursday, 30 December 2010 2:30 AM
To: Perl-Win32-GUI-Users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Error when using GetOpenFileName()

Hi,

I have tried the following code:

my @files = Win32::GUI::GetOpenFileName( -title => "Select the FLV files", 
-directory => "$FindBin::Bin", -filter => ["FLV files", "*.flv", "All files", 
"*.*"], -defaultfilter => 0, -filemustexist => 1, -multisel => 1, );

The program works fine if the user selects less than 85 files.

If she or he selects more than 85 files (or more than 90 for sure), this code 
returns [undef] just like nothing was selected.

Is there a bug in Win32::GUI or I need to do something special if I want to 
offer the possibility of selecting more files?

If there is a bug, is there a workaround for it?

Thank you.

Octavian


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers to 
consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database without 
downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to