-----Original Message-----
Hi Niels,
Have a look at
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfsystemiodirectoryinfoclasstopic.asp
And to
(Addrange)
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfsystemwindowsformslistboxobjectcollectio
nclasstopic.asp
It should be very simple with this information.
I hope this helps?
Cor
.
Thanks for your reaction, but it is not so very simple for
a beginner...
I watched the code, and got a few lines of code working
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
MyPath = Application.StartupPath
Dim Dirs As DirectoryInfo = New DirectoryInfo
(MyPath & "\Stamps\")
Dim FileCount As FileSystemInfo() =
Dirs.GetFiles
Dim Count As Integer
Count = FileCount.Length - 1
Dim ItemObject(Count) As System.Object
Dim i As Integer
For i = 0 To Count
ItemObject(i) = FileName ' "FullName" geeft
het path: "Name" geeft directorynaam
Next i
ComboBox1.Items.AddRange(ItemObject)
End Sub
But this code gives the path instead of the filenames..
Can anyone help me again please...