|
-
Mar 27th, 2003, 07:15 AM
#1
Thread Starter
Hyperactive Member
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
-
Mar 27th, 2003, 01:46 PM
#2
Sleep mode
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 .
-
Mar 27th, 2003, 04:14 PM
#3
Sleep mode
This should work according to the error you got !
Dim fi As IO.FileInfo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|