Exforsys

Online Training

Microsoft .NET : List Files in a Directory

This is a discussion on Microsoft .NET : List Files in a Directory within the Microsoft .NET Tutorials and Articles forums, part of the Articles and Tutorials category; by JesusFreak on VB.NET Read Comments Rate this resource Viewed 23829 times Rating: 41 users 4.11 out of ...


Go Back   Exforsys > Articles and Tutorials > Microsoft .NET Tutorials and Articles

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2005, 07:25 AM
Senior Member
 
Join Date: Mar 2005
Posts: 910
techguru is on a distinguished road
Post Microsoft .NET : List Files in a Directory

by JesusFreak on VB.NET Read Comments Rate this resource Viewed 23829 times Rating: 41 users 4.11 out of 5 Next > A little code snippet that lists files in a directory. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' make a reference to a directory Dim di As New IO.DirectoryInfo("c:") Dim diar1 As IO.FileInfo() = di.GetFiles() Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In...

http://www.developerfusion.com/show/3681/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:51 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.