I am using a browserdialog to browse to a folder that I know contains .txt files.
When pressing okay. I want all these .txt files to appear in my textFilesBox1.
I have come up with this code that do put the path directory in the textBox1.
I have searched for examples everywhere but cant figure out how to continue this code.
Would appreciate any starthelp
folderBrowserDialog1->ShowDialog();
System::String ^ TextFiles= folderBrowserDialog1->SelectedPath;
System::IO::Directory::GetFiles(TextFiles,"*.txt");
this->textFilesBox1->Text = TextFiles;