473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

how to pick up latest file?

Hi there
I wanna write asp code to pick up *.MAI from particular
folder and read them. There is no problem with reading
the file but how can I pick up the latest file from
particular folder?
Any help would be appreciated..
Thanx
Dave
Jul 19 '05 #1
2 1335
You can stuff them into a recordset and sort them.
http://www.aspfaq.com/2025

--
http://www.aspfaq.com/
(Reverse address to reply.)

"dave" <an*******@discussions.microsoft.com> wrote in message
news:2b*****************************@phx.gbl...
Hi there
I wanna write asp code to pick up *.MAI from particular
folder and read them. There is no problem with reading
the file but how can I pick up the latest file from
particular folder?
Any help would be appreciated..
Thanx
Dave

Jul 19 '05 #2
On Mon, 12 Jul 2004 21:08:17 -0700, "dave"
<an*******@discussions.microsoft.com> wrote:
I wanna write asp code to pick up *.MAI from particular
folder and read them. There is no problem with reading
the file but how can I pick up the latest file from
particular folder?


Use the File object, from within a file collection. See:

http://www.devguru.com/Technologies/...kref/file.html
http://www.devguru.com/Technologies/...ollection.html
Dtae Created or Date Last Modified, depending on what you need. Maybe
drop the entire Files Collection into an array and sort it.

Jeff
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matej Kenda | last post by:
Hi all, This message is to let you know that I have successfully compiled the latest sources from the 2.3 branch on the abovementioned OS using the HP ansiC compiler version 5.50. Final...
2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
5
by: Gary Mayor | last post by:
Hi, If I have the ' character within the javascript:pick command it doesn't work. Is there some sort of way of escaping these characters like in server side languages. function pick(symbol) {...
0
by: Sean | last post by:
Hi I have this XML file, and i am not sure how do i read this xml file and read it to an arraylist, for which i use to fire some SQL statements. I want to be able to pick only xml attributes,...
2
by: steve bull | last post by:
I am trying to do a build of an application against the latest .dll file for a library but the compiler insists on trying to load an older version : Graphics2D.dll(1.0.2142.164) instead of...
76
by: kwilder | last post by:
This works, but it doesn't load the latest version of the xml if it was just modified without closing and reopening the browser. Here's the scenario: I have an xml doc called results.xml. It...
10
by: Mark Winter | last post by:
Hello, I am wondering if someone could point me in the right direction to figure out how to create a dynamic form. I have been developing programs in perl and oracle and have recently switched...
8
by: pradeepss | last post by:
Guys, I have a text file which is comma delimited and information. Each information is ended by end of line and started again with comma delimited i.e. 1,2,3,a,4 2,s,4,5,6,7,8,h...
1
by: MM User | last post by:
Hi, I have a directory which I would like to search and list the latest file together with it date and time, I've found the following from w3schools for a particular file but do not know how to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.