V
VB Novice Hendri
Guest
Hi ther.
I am using this code below to populate a Listbox with Document Names, it works fine.
My problem is that in the folder ther is a Document called "TEMPLATE" that allso shows up in the list of Documents.
Is ther a way of preventing this of showing up.
Dim Files() As String = Directory.GetFiles(RecipeFolder)
For Each file As String In Files
RecipeListBox.Items.Add(Path.GetFileName(file))
Continue reading...
I am using this code below to populate a Listbox with Document Names, it works fine.
My problem is that in the folder ther is a Document called "TEMPLATE" that allso shows up in the list of Documents.
Is ther a way of preventing this of showing up.
Dim Files() As String = Directory.GetFiles(RecipeFolder)
For Each file As String In Files
RecipeListBox.Items.Add(Path.GetFileName(file))
Continue reading...