P
Peri
Dear All,
I am developing 2 applications.
The first application will keep on generate a new file in a span of 30
milliseconds with some valid data inside (This code is written in C).
The second application (A Windows Service written in VB.NET) will keep on
read the file from the same folder and update the database. My problem is
that the second appliaction will have to read the files in the same order
(Created Date Time in milliseconds) in which the fisrt application has
written.
I tried using System.IO.Directory and System.IO.DirectoryInfo. In this I am
able to get the file CreatedTime but not able to order it by the Created
Time and then do the processing. As of now I am reading the File, taking the
created time, putting this in a array, sorting it by DateTime and then
processing the file.
Is there any way I can do this in VB.NET/C# ?
Thanks and Regards,
Peri
I am developing 2 applications.
The first application will keep on generate a new file in a span of 30
milliseconds with some valid data inside (This code is written in C).
The second application (A Windows Service written in VB.NET) will keep on
read the file from the same folder and update the database. My problem is
that the second appliaction will have to read the files in the same order
(Created Date Time in milliseconds) in which the fisrt application has
written.
I tried using System.IO.Directory and System.IO.DirectoryInfo. In this I am
able to get the file CreatedTime but not able to order it by the Created
Time and then do the processing. As of now I am reading the File, taking the
created time, putting this in a array, sorting it by DateTime and then
processing the file.
Is there any way I can do this in VB.NET/C# ?
Thanks and Regards,
Peri