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

C# Code:
  1. OpenFileDialog OFD = new OpenFileDialog();
  2.             OFD.Multiselect = true;
  3.             OFD.Filter = "HTML Files (*.htm*)|*.HTM*|" +
  4.           "All files (*.*)|*.*";
  5.  
  6.             if (OFD.ShowDialog() == DialogResult.OK)
  7.             {
  8.                 progressBar1.Maximum = OFD.FileNames.Count();
  9.                 foreach (string s in OFD.FileNames)
  10.                 {
  11.                     Console.WriteLine(s);
  12.                     AddAnalytics(s);
  13.                     progressBar1.Value++;
  14.                 }
  15.                 MessageBox.Show(string.Format("Done! \r\n {0} files completed",progressBar1.Value));
  16.                 progressBar1.Value = 0;
  17.             }