29-06-13, 11:44 AM
اخى انا اريدة ذى هاذا الكود لاكن لا اعرف كيف اخلى Listbox متابلش غير jpg
كود :
For Each Path As String In My.Application.CommandLineArgs
Dim file As String() = Directory.GetFiles(Path, "*.jpg")
Dim i As Integer
For i = 0 To UBound(file)
Dim temp As String
temp = file(i)
ListBox1.Items.Add(temp)
Next
Next