-
FileInfo class creation
I am very new to .net...
With lstSelectedItems
.Items.Clear()
.BeginUpdate()
Dim fi As FileInfo
For Each fi In lstMultiSelect.SelectedItems
.Items.Add(fi.Name)
Next
.EndUpdate()
End With
On the FILEINFO .. this is a class... How and where does this get created. I am trying to cut some code from the CD Examples into my project and can not track this down.. Somebody .. please help
-
Not sure what you mean but ...
when you type this code :
Dim fi As FileInfo (this means you're creating an object named "fi" in the mem , so that you can use it in your code .
"lstSelectedItems" this probably a listbox or combobox . You can change it to adapt your needs .
:rolleyes:
-
This should work according to the error you got !
Dim fi As IO.FileInfo