473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

OpenFileDialog: selecting more than 200 files

In .NET v1.1 I am trying to select multiple files using OpenFileDialog like
this

OpenFileDialog openFileDialog=new OpenFileDialog();
openFileDialog.Multiselect=true;
i f(openFileDialog.ShowDialog() == DialogResult.OK) {
...
}

Now I discover that there is a hardcoded limit of 200 files.
But I must select way more than 200 files, so how can I go around this
limit?

Also has VS 2005 still this limit?

Thanks
Nov 17 '05 #1
1 4403
Olaf,

This is a function of the OS, not of .NET. The file dialog you see is a
shell for the one provided by the OS.

However, if you have a need to select 200 files at once, I think you
need to re-evaluate your user interface. You should have the user provide a
pattern, or some other filter criteria, at which point you would find the
files that fit that criteria.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Olaf Baeyens" <ol**********@skyscan.be> wrote in message
news:43**********************@news.skynet.be...
In .NET v1.1 I am trying to select multiple files using OpenFileDialog
like
this

OpenFileDialog openFileDialog=new OpenFileDialog();
openFileDialog.Multiselect=true;
i f(openFileDialog.ShowDialog() == DialogResult.OK) {
...
}

Now I discover that there is a hardcoded limit of 200 files.
But I must select way more than 200 files, so how can I go around this
limit?

Also has VS 2005 still this limit?

Thanks

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rajendra KASHI | last post by:
Hi, I am currently supporting one of the .Net application build with C# language. The application uses lots of delegates, in using the delegates the ShowDialog of the OpenDialogControl hangs the...
1
by: Paras Wadehra | last post by:
Hi Friends, Can anyone please help me with the OpenFileDialog Control in VB.Net? I want the user to be restricted to a particular folder only for selecting a file, i.e. they should not be able...
3
by: Josema | last post by:
Hi to all... When i open a file dialog and the user has selected a file, the open file dialog remains like thinking a lot cause a file is too large... How can i force to close the file dialog?...
3
by: bobrad | last post by:
MAYBE SOMEBODY CAM HELP I AM USING THE FOLLOWING CODE TO GET A LOCATION OF A FILE IN A WINFORM DIALOG OpenFileDialog openFileDialog = new OpenFileDialog(); OpenFileDialog.Filter = " Access...
4
by: Nagachandra Sekhar Grandhi | last post by:
I am facing a problem with OpenFileDialog. It is as follows. I opened OpenFileDialog dialog box and selected a folder in it. After selecting the folder when i tried to delete the same folder in...
4
by: Sharon | last post by:
I’m using OpenFileDialog class in a specific InitialDirectory and I want that files will be selected in the opened dialog when I call ShowDialog(). Actually I wish to select all files in the...
4
by: Chuck Edgeworth | last post by:
I'm trying to be able to select a combination of files and folders. When I try to use the OpenFileDialog it will allow me to select them but when I press the Open button it only informs me of the...
2
by: Bernie Yaeger | last post by:
I've asked this question before but now I need something different: I need to select files using openfiledialog, which is easy enough. But I want to select a file or files (multiselect) and also...
8
by: marcus.kwok | last post by:
I am having a weird problem and I have can't figure out why it is happening. I create an OpenFileDialog and set a filename filter. When the dialog first opens, the filter works correctly, and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.