I am using GetFiles(string,string) to find .txt files in folders.
The code that I am using look like this:
folderBrowserDialog1->ShowDialog(); System::String ^ files3 = folderBrowserDialog1->SelectedPath; this->textBox1->Text = Directory.GetFiles(files3,"*.txt");
The compiler says that "Directory" is a undeclard identifier and left of .GetFiles must have class/struct/union.
I am not sure if I can figure out what is missing, I have a feeling that I need a string array in any way ?