Dear Friends,
Good Day.
I am retrieve the latest file from a directory however it retrieves the one prior to it.
Directory.GetFiles(myfolder,"*.xlsx").OrderByDescending(Function(d) New FileInfo(d).CreationTime).ToList(0)
Need your support as always to resolve the same.
Regards,
MAnjesh