Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: SerialPort/Stress problem Pin
S. Senthil Kumar5-Jun-05 4:01
S. Senthil Kumar5-Jun-05 4:01 
GeneralRe: SerialPort/Stress problem Pin
Snowjim5-Jun-05 4:14
Snowjim5-Jun-05 4:14 
GeneralRe: SerialPort/Stress problem Pin
S. Senthil Kumar5-Jun-05 7:01
S. Senthil Kumar5-Jun-05 7:01 
GeneralRe: SerialPort/Stress problem Pin
Snowjim5-Jun-05 7:49
Snowjim5-Jun-05 7:49 
GeneralRe: SerialPort/Stress problem Pin
Sebastian Schneider5-Jun-05 20:07
Sebastian Schneider5-Jun-05 20:07 
GeneralRe: SerialPort/Stress problem Pin
Snowjim6-Jun-05 0:59
Snowjim6-Jun-05 0:59 
GeneralC# directory file-structure reading Pin
Steepy_dipper4-Jun-05 22:51
sussSteepy_dipper4-Jun-05 22:51 
GeneralRe: C# directory file-structure reading Pin
Carsten Zeumer4-Jun-05 23:33
Carsten Zeumer4-Jun-05 23:33 
If you only need the names of the files you can call the System.IO.Direcoty.GetFiles method which returns an array of string.
If you need more information you first instatiate an DirectoryInfo object and then call the instances GetFiles method which returns an array of System.IO.FileInfo.
Sample:
<code>System.IO.DirectoryInfo windowsDir = new System.IO.DirectoryInfo(@"C:\windows\");
System.IO.FileInfo[] filesInDir = windowsDir.GetFiles("*.*");
</code>


/cadi

24 hours is not enough
GeneralRe: C# directory file-structure reading Pin
GaMBiT_KC4-Jun-05 23:34
GaMBiT_KC4-Jun-05 23:34 
GeneralSql Query Builder from an app Pin
Leyu4-Jun-05 20:43
Leyu4-Jun-05 20:43 
GeneralShort cut icons on a windows form Pin
Rinventive4-Jun-05 20:42
Rinventive4-Jun-05 20:42 
GeneralRe: Short cut icons on a windows form Pin
Carsten Zeumer4-Jun-05 23:46
Carsten Zeumer4-Jun-05 23:46 
GeneralRe: Short cut icons on a windows form Pin
Anonymous5-Jun-05 19:29
Anonymous5-Jun-05 19:29 
GeneralExchange the Language on a localized Windows Forms form Pin
Uwe Keim4-Jun-05 20:30
sitebuilderUwe Keim4-Jun-05 20:30 
Generalpls Provide C# code for the Visual Basic code Below Pin
monica2k4-Jun-05 18:00
monica2k4-Jun-05 18:00 
GeneralRe: pls Provide C# code for the Visual Basic code Below Pin
Chris Austin4-Jun-05 19:33
Chris Austin4-Jun-05 19:33 
GeneralRe: pls Provide C# code for the Visual Basic code Below Pin
WillemM5-Jun-05 0:58
WillemM5-Jun-05 0:58 
GeneralRe: pls Provide C# code for the Visual Basic code Below Pin
Robert Rohde5-Jun-05 1:39
Robert Rohde5-Jun-05 1:39 
GeneralRe: pls Provide C# code for the Visual Basic code Below Pin
Michael P Butler5-Jun-05 3:44
Michael P Butler5-Jun-05 3:44 
GeneralC# Active FTP Data Transfer Pin
eddieg764-Jun-05 17:21
eddieg764-Jun-05 17:21 
GeneralRe: C# Active FTP Data Transfer Pin
WillemM5-Jun-05 0:29
WillemM5-Jun-05 0:29 
GeneralRe: C# Active FTP Data Transfer Pin
emgeed6-Jun-05 14:48
emgeed6-Jun-05 14:48 
GeneralRe: C# Active FTP Data Transfer Pin
WillemM6-Jun-05 20:38
WillemM6-Jun-05 20:38 
GeneralRe: C# Active FTP Data Transfer Pin
eddieg767-Jun-05 12:42
eddieg767-Jun-05 12:42 
GeneralRe: C# Active FTP Data Transfer Pin
S. Senthil Kumar5-Jun-05 4:10
S. Senthil Kumar5-Jun-05 4:10 

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.