I have a small helper app that I use to "inject" scripts into html pages.
I have an openfiledialog promt and i select all the html files in that directory (1403 files) and no matter what i do i see that OFD.filenames.count = 776
is there a limit?
thanks
OpenFileDialog OFD = new OpenFileDialog();
OFD.Multiselect = true;
OFD.Filter = "HTML Files (*.htm*)|*.HTM*|" +
"All files (*.*)|*.*";
if (OFD.ShowDialog() == DialogResult.OK)
{
progressBar1.Maximum = OFD.FileNames.Count();
foreach (string s in OFD.FileNames)
{
Console.WriteLine(s);
AddAnalytics(s);
progressBar1.Value++;
}
MessageBox.Show(string.Format("Done! \r\n {0} files completed",progressBar1.Value));
progressBar1.Value = 0;
}