In chapter 4, while dealing with for each loops, one of the try it out thingies doesnt want to work for me.
The try it out which lists all the folders on C:\ says:
"name 'My' is not declared". Code is as follows:
Code:
Dim strFolder As String
For Each strFolder In My.Computer.FileSystem.GetDirectories("C:\")
'add the item to the list
lstData.Items.Add(strFolder)
Next
Any ideas?
Cheif Wiggum: Alright smart guy, where's the fire?
Homer: &n bsp;(points to burning police station) Over there.
Cheif Wiggum: Okay, you have just bought yourself a 317; Pointing out police stupidity. Oh wait is that a 314, no 314 is a dog, uh, in, no, is that a 315? Eh you're in trouble pal!