sourcelamp
Programmer
I am trying to access information created by an automated
program. The automated program creates folders and saves
files into them. I need to write a visual basic program
that will determine which is the newest subfolder created
in order to find the newest files.
In other words, let's say that the "base" folder structure
is c:\folder\sub1folder\sub2folder. The program may have
created several subfolder such as:
c:\folder\sub1folder\sub2folder\sub3folder1
c:\folder\sub1folder\sub2folder\sub3folder2
c:\folder\sub1folder\sub2folder\sub3folder3
c:\folder\sub1folder\sub2folder\sub3folder4
etc.
The vb program knows what the base folder is. It just
needs to determine which of the sub3folders is the newest,
or more recently created. I haven't been able to figure
out how to extract this information. Any help would be
appreciated.
program. The automated program creates folders and saves
files into them. I need to write a visual basic program
that will determine which is the newest subfolder created
in order to find the newest files.
In other words, let's say that the "base" folder structure
is c:\folder\sub1folder\sub2folder. The program may have
created several subfolder such as:
c:\folder\sub1folder\sub2folder\sub3folder1
c:\folder\sub1folder\sub2folder\sub3folder2
c:\folder\sub1folder\sub2folder\sub3folder3
c:\folder\sub1folder\sub2folder\sub3folder4
etc.
The vb program knows what the base folder is. It just
needs to determine which of the sub3folders is the newest,
or more recently created. I haven't been able to figure
out how to extract this information. Any help would be
appreciated.