Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Bits value into integer Pin
OriginalGriff11-May-09 22:03
mveOriginalGriff11-May-09 22:03 
AnswerRe: Converting Bits value into integer Pin
Luc Pattyn12-May-09 0:34
sitebuilderLuc Pattyn12-May-09 0:34 
Question[Message Deleted] Pin
aastudent11-May-09 21:25
aastudent11-May-09 21:25 
AnswerRe: Publish with office interop Pin
Simon P Stevens11-May-09 21:53
Simon P Stevens11-May-09 21:53 
GeneralRe: Publish with office interop Pin
aastudent12-May-09 4:33
aastudent12-May-09 4:33 
GeneralRe: Publish with office interop Pin
Simon P Stevens13-May-09 0:59
Simon P Stevens13-May-09 0:59 
QuestionHow to use session ?? Pin
lsh486love11-May-09 21:23
lsh486love11-May-09 21:23 
Questiongetting directory list in creation date order Pin
JacquesBrits11-May-09 21:14
JacquesBrits11-May-09 21:14 
Hi guys

I have the code to get the directory list of the xml files in an folder but the problem is that i want to get the files in the creation date order. in other words each file has got an date it was created.

now i want to load all these xml files into an list array and in the creation date order.

is this possible? Confused | :confused:

my code sofar:
private String[] GetDirectory(String XmlFilePath)
{
    List<String> strList = new List<string>();

    FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create(XmlFilePath);
    request.Credentials = new NetworkCredential(Username, Password);
    request.Method = WebRequestMethods.Ftp.ListDirectory;
    StreamReader sr = new StreamReader(request.GetResponse().GetResponseStream());

    while (!(sr.EndOfStream))
    {
        strList.Add(sr.ReadLine());
    }

    sr.Close();
    sr = null;

    return strList.ToArray();
}

AnswerRe: getting directory list in creation date order Pin
tim_gunning12-May-09 1:14
tim_gunning12-May-09 1:14 
Questionconvert postscript to pdf Pin
tauras8111-May-09 20:57
tauras8111-May-09 20:57 
AnswerRe: convert postscript to pdf Pin
LesF23-Nov-09 22:32
LesF23-Nov-09 22:32 
Questioncalender Pin
smithasuryanarayanan11-May-09 20:42
smithasuryanarayanan11-May-09 20:42 
AnswerRe: calender Pin
Henry Minute11-May-09 21:06
Henry Minute11-May-09 21:06 
Questionhow to receive a frame in Serial port by FiFo buffer Pin
hamed_farasat11-May-09 20:16
hamed_farasat11-May-09 20:16 
QuestionAdding Authentication in C# client for gSOAP C++ webservices........ Pin
King Julien11-May-09 19:46
King Julien11-May-09 19:46 
QuestionDataGridView CellPainting (some cells only) Pin
John Jak11-May-09 19:36
John Jak11-May-09 19:36 
QuestionHow can I get the reference of PDF file opened in Internet Explorer using c#? Pin
svt gdwl11-May-09 19:26
svt gdwl11-May-09 19:26 
Questionpassing parameters between two application Pin
imannasr8811-May-09 19:23
imannasr8811-May-09 19:23 
AnswerRe: passing parameters between two application Pin
dan!sh 11-May-09 19:36
professional dan!sh 11-May-09 19:36 
GeneralRe: passing parameters between two application Pin
imannasr8812-May-09 0:35
imannasr8812-May-09 0:35 
QuestionGet time zones in windows mobile Pin
vijaywithu11-May-09 19:08
vijaywithu11-May-09 19:08 
Questionhow to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:14
tofa11111-May-09 18:14 
AnswerRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:22
professional dan!sh 11-May-09 18:22 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:28
tofa11111-May-09 18:28 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:51
professional dan!sh 11-May-09 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.