🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #258

Re: Determine file last modified date.

#258
From: mayayana1
Date: Mon, 30 Apr 2001 13:25
32 lines
2060 bytes
If you don't mind adding a DLL to your package (SCRRUN.DLL) you can
reference the Scripting Runtime Library. That gives access to the
FileSystemObject. Then use FSO.GetFile to get the file object. The file
object properties provide DateCreated, DateLastMod., file version, size,
etc......saving several pages of code.

Jure Sah wrote in message <3AED4013.E031EE4F@guest.arnes.si>...
>Is there a function that can tell the date last modified out of the
>filename in VB5?
>
>If yes, what is it called and how is it used? Please describe from
>begining to end.
>
>Thanx in advance!
>
>{I would also appriciate if replies get sent to my e-mail address too,
>because due to the large amount of trafic to these newsgroup, I can't
>afford to download all posts. Thank you.}
>
>--
>
>Don't feel bad about asking/telling me anything, I will always gladly
>reply.
>
>I'm addicted to PDS.
>
>Anybody interested in cooperation? See:
>Http://www.geocities.com/gtsc4/innc/index.html
>
>GTSC4 -- If nobody else wants to do it, why shouldn't we?(TM)
>HTTP://WWW.GeoCities.COM/GTSC4/
>
Technical Details
Message-ID: <9cjpai$3ju$1@slb7.atl.mindspring.net>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.mindspring.net!not-for-mail
References: <3AED4013.E031EE4F@guest.arnes.si>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff48e,12cdc5e6268ebd10
X-Google-Attributes: gidff48e,public
X-Google-Thread: 110e3b,12cdc5e6268ebd10
X-Google-Attributes: gid110e3b,public
X-Google-ArrivalTime: 2001-04-30 06:29:38 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.mindspring.net!not-for-mail
From: "mayayana1" <mayayana1@mindspring.com>
Newsgroups: comp.lang.basic.visual.misc,basicworld.public.vb.tools
Subject: Re: Determine file last modified date.
Date: Mon, 30 Apr 2001 09:25:27 -0400
Organization: MindSpring Enterprises
Lines: 34
Message-ID: <9cjpai$3ju$1@slb7.atl.mindspring.net>
References: <3AED4013.E031EE4F@guest.arnes.si>
NNTP-Posting-Host: a5.f7.01.9f
X-Server-Date: 30 Apr 2001 13:28:50 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700