•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,468 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,797 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 5947 | Replies: 12 | Solved
![]() |
•
•
Join Date: Sep 2007
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
I identified the debugger error....apart from that it is out of my league 
but i got it working and it does what i want so i'll quit while im ahead i think
here is a link to the code for future reference....or for anyone thats interested.
http://files.filefront.com/LoginSort.../fileinfo.html

but i got it working and it does what i want so i'll quit while im ahead i think

here is a link to the code for future reference....or for anyone thats interested.
http://files.filefront.com/LoginSort.../fileinfo.html
Just for the gallery, see first part of code in my previous post:
string format = "MM.dd.yyyy HH:mm:ss";
lines.Sort(new Comparison<string>(delegate(string a, string b)
{
string dateA = Regex.Match(a, "\\[(.+)\\]").Groups[1].Value;
string dateB = Regex.Match(b, "\\[(.+)\\]").Groups[1].Value;
return (DateTime.Compare(DateTime.ParseExact(dateA, format, null),
DateTime.ParseExact(dateB, format, null)));
}));
Last edited by _r0ckbaer : Sep 25th, 2007 at 7:41 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
3d ads adsense agplv3 apple blue screen dell development drivers email eudora firefox framework games gnu google graphics ibm intel internet link linux microsoft mozilla news next open open source open-source opengl openoffice operating os programming red hat revenue server software source step sun super system text ubuntu unit vista wesnoth windows xp
- how can we sort data from text file (C++)
- text file strings help (Visual Basic 4 / 5 / 6)
- Open a text file from another project (VB.NET)
- read from database and writing the contents into a text file (C)
- sorting a text file (C++)
- How to delete a row in text file? (Visual Basic 4 / 5 / 6)
- Help Reading Info in Text File Into an Array (C++)
- How to send text to a text file using j2me through http connection? (Java)
Other Threads in the C# Forum
- Previous Thread: Invalid Cursor Position
- Next Thread: Static use


Linear Mode