With respect, it sounds as though you want someone else to do all your work for you. What have you tried? What specific things are you having problems with? Can you post code examples of what you have (in [code] [/code] tags, please)?
With respect, it sounds as though you want someone else to do all your work for you. What have you tried? What specific things are you having problems with? Can you post code examples of what you have (in tags, please)?
Im not looking for someone to do the codeing for me, it just seems like it is a common code that people would most likely have so I figured that someone would know where to get it on the internet as a lot of code can be found there, I dont want someone to do the work for me I just want to know if it is already out there so i can save myself the time
What do you mean by 'codes'? Libraries? User Controls? Classes? Methods?
the first code that I need is a piece of code that sorts by date, you enter a date and time and it will sort the files
How do "you enter a date and time"? Via a popup dialog? In the code itself? Telepathy?
Sort what files? How are they loaded/stored? Sorted by creation date? Access date? Date of some data from within the file?
the second piece of code that is needed is code that generates a tree view of the files
I seriously doubt you spent any time searching. I googled for 'tree view "c sharp" and pulled up a great number of hits with very relevant information.
Again, I ask, where is your code that you're having problems with? Show where you're getting stuck. What are the errors? You've come in here and asked a question with almost no information or details, let alone things you've tried.
I mean no disrespect to you, but if you want someone to help you, you need to show that you're trying. If it appears that you're not even trying to solve the problem, you can expect a reply like mine.
Use this code to get the directory into FileInfo objects.
Code:
DirectoryInfo di = new DirectoryInfo(path);
FileInfo[] fi = di.GetFiles();
Read from the links below to get how to sort stuff. You can find this information easily enough by going to google and searching. Here's the google link:
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.