Hi, I have problem when I try to get files from a directory, but all those files contain a file doesn't exist in specific directory, I use this code for getting files
- FileInfo[] dr_files = dr.GetFiles();
- foreach (FileInfo f in dr_files)
- {
- listBox3.Items.Add(f);
- }

when i double click to open the file that doesn't exist in directory from listbox(word file) I have this message
Amit GuptaPosted Jul 3, 2017, 12:48 AM