Log in

View Full Version : File Name previous/next



PcMax
10-19-2014, 03:43 PM
Hi,

I have the following files in the path
C:\Dati\
41922 Name.xyz
41925 Name.xyz
41926 Name.xyz
41928 Name.xyz
41931 Name.xyz


If I open a file saved in date: 14/10/2014 (41926 Name.xyz). I ask for a code to get the name of the file Saved date with next and previous.
If I open the file in a folder Es: 41926 Name.xyz I have to get the first row saved earlier date and later.

Es: 41925 Name.xyz e 41928 Name.xyz
They are available in the folder.

Thanks in advance

PcMax
10-22-2014, 11:43 PM
Hi,

I enclose an example to browse images in a folder
From unzip and save it to C: \

My actual requirement is to open some text file, without any reference to the dates of the file.
I inserted the images just to show the best cycle

I now ask if it is possible some simplification

a greeting

Excel Fox
10-23-2014, 10:56 AM
PcMax,

Your requirement is not clear. Can you reiterate the requirement first, and then list down the steps that need to be followed to achieve the objective.

PcMax
10-23-2014, 05:54 PM
Hi,

Through a program in Vb6 create a daily report and save it in a binary file, with the date of the day.
I need to be able to view the data of the previous working day.
To avoid displaying the file manager I added two buttons to load the items.

The example that I attached it allowed me to view images saved in the days before