🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4008

Re: VB: Oudste bestand in een directory vinden

#4008
From: Arnold Ligtvoet
Date: Thu, 18 Sep 2003 20:25
20 lines
1436 bytes
Erik Muurman wrote:

> Wie weet hoe ik in visualbasic bepaal wat het oudste bestand in een
> directory is.
> 
> 
Met de FileDateTime functie de datum van ieder bestand checken en dan de 
oudste bewaren ?

Dus in pseudo code

newdate = now()
for each file in files
	date = FileDateTime(file)
	if date < newdate then
		newdate = date
	end if
next

Arnold
Technical Details
Message-ID: <vmk55oem25ub68@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <bkcq78$crg$1@news3.tilbu1.nb.home.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,416e4ebb3bca3e65
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,416e4ebb3bca3e65
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-09-18 13:25:50 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Arnold Ligtvoet <news@ligtvoet.org>
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: VB: Oudste bestand in een directory vinden
Date: Thu, 18 Sep 2003 22:25:25 +0200
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vmk55oem25ub68@corp.supernews.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <bkcq78$crg$1@news3.tilbu1.nb.home.nl>
In-Reply-To: <bkcq78$crg$1@news3.tilbu1.nb.home.nl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 21