skip to main | skip to sidebar

Ted's Hello World

Thursday, April 23, 2009

Recursively Iterate through a folder without using FileSystemObject in VB.NET

    Dim files As ReadOnlyCollection(Of String)
    files = My.Computer.FileSystem.GetFiles("c:\modifiedfiles\", FileIO.SearchOption.SearchAllSubDirectories, "*.*")
    For index As Integer = 0 To files.Count - 1
       MsgBox files(index)
    Next

Posted by Ted Unnikumaran at 7:07 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (1)
    • ►  January (1)
  • ►  2010 (42)
    • ►  November (4)
    • ►  October (1)
    • ►  June (10)
    • ►  May (2)
    • ►  April (5)
    • ►  March (14)
    • ►  February (5)
    • ►  January (1)
  • ▼  2009 (56)
    • ►  December (1)
    • ►  November (4)
    • ►  September (1)
    • ►  August (4)
    • ►  July (2)
    • ►  June (9)
    • ►  May (7)
    • ▼  April (5)
      • Recursively Iterate through a folder without using...
      • Increase the brightness on my Laptop
      • Have a CheckedListBox only allow one selection at ...
      • Change the cursor of the mouse to that of a circle
      • fill the area outside of a polygon with a color
    • ►  March (7)
    • ►  February (11)
    • ►  January (5)
  • ►  2008 (51)
    • ►  December (7)
    • ►  November (6)
    • ►  October (4)
    • ►  September (4)
    • ►  July (5)
    • ►  June (5)
    • ►  May (5)
    • ►  April (1)
    • ►  March (4)
    • ►  February (8)
    • ►  January (2)
  • ►  2007 (16)
    • ►  December (10)
    • ►  November (6)

About Me

Ted Unnikumaran
View my complete profile