OpenFileDialog error when selecting more than 1 file on a Camera

G

Guest

Hello,

I get the infamous 'Too many files selected' error using the OpenFileDialog
with multiselect, only, I'm just selecting 2 files!!!!
These files are located on a digital camera connected through USB and a WIA
driver (not the MSC driver as this locks the camera). Windows explorer allows
me to select multiple files and copy or move them, but the .NET
openfiledialog chokes when I try to select more than 1! Note that my
application runs inside IE (it's a smartclient), but that the dll has full
trust and all permissions are asserted. Also everything works fine when
selecting files in a 'regular' folder, so its unlikely to be a security
problem...

OS is Windows XP SP2, .NET 1.1 SP1
 
R

recoil

Have you tried using your "SmartClient" from inside an application as a
control, to rule out the possibility that it is an issue related to
being hosted inside vs.net?

It may also be related to a buffer fill up case which may introduce its
own unsurmountable problems as it requires going into unmanaged code to
call the version that lets you set the buffer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top