Advertisement

06.05.2008 at 05:00AM PDT, ID: 23459822
[x]
Attachment Details

Sort list of Files based on date created

Asked by ALawrence007 in Microsoft Visual Basic.Net, Visual Studio .NET 2005, Visual Studio 2008

Tags: Visual Basic .Net

Hi,

Below is the line of code that I use to load a list of files from a directory. I would like to exclude files created based on a specific date. For instance if the file was created yesterday I do not want that file added to my list of Files.

How would I go about to do this?

ThanksStart Free Trial
1:
Dim Files As String() = System.IO.Directory.GetFiles("MyFolder")
[+][-]06.05.2008 at 05:32AM PDT, ID: 21718574

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, Visual Studio .NET 2005, Visual Studio 2008
Tags: Visual Basic .Net
Sign Up Now!
Solution Provided By: gurutodd
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628