Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan16-Jan-05 4:26
Umair Ahmad khan16-Jan-05 4:26 
GeneralRe: Down Arrow Key Pin
Peter Molnar16-Jan-05 10:45
Peter Molnar16-Jan-05 10:45 
GeneralOdd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 7:31
flip_trickle15-Jan-05 7:31 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
Robert Rohde15-Jan-05 7:51
Robert Rohde15-Jan-05 7:51 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:30
flip_trickle15-Jan-05 8:30 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:32
flip_trickle15-Jan-05 8:32 
GeneralSystem.IO file/directory syntax question... Pin
new_phoenix15-Jan-05 7:04
new_phoenix15-Jan-05 7:04 
GeneralRe: System.IO file/directory syntax question... Pin
Robert Rohde15-Jan-05 7:55
Robert Rohde15-Jan-05 7:55 
It doesnt work because Directory.GetFiles return a string array and not a collection of File objects.
You have the following options:
1:
<br />
foreach (string fileName in Directory.GetFiles(dirDirectory)) {<br />
  //do something<br />
}<br />


2:
<br />
foreach (FileInfo fileInfo in new DirectoryInfo(dirDirectory).GetFiles()) {<br />
  //do something<br />
}<br />

GeneralRe: System.IO file/directory syntax question... Pin
new_phoenix15-Jan-05 8:14
new_phoenix15-Jan-05 8:14 
GeneralSqlite C# Pin
Adnan Siddiqi15-Jan-05 6:08
Adnan Siddiqi15-Jan-05 6:08 
GeneralRe: Sqlite C# Pin
Robert Rohde15-Jan-05 6:59
Robert Rohde15-Jan-05 6:59 
Questionhow to create an ms installer Pin
basbous15-Jan-05 6:07
basbous15-Jan-05 6:07 
Generalhelp needed Pin
prasanna_ids15-Jan-05 1:08
prasanna_ids15-Jan-05 1:08 
GeneralOutlook popup message Pin
Osmosys14-Jan-05 21:57
Osmosys14-Jan-05 21:57 
GeneralRe: Outlook popup message Pin
Heath Stewart18-Jan-05 6:09
protectorHeath Stewart18-Jan-05 6:09 
GeneralRe: Outlook popup message Pin
Anonymous19-Jan-05 2:09
Anonymous19-Jan-05 2:09 
GeneralVideo Broadcasting problems Pin
RockRock14-Jan-05 19:13
RockRock14-Jan-05 19:13 
GeneralKernel Level Files *Please Help!* Pin
kshet2614-Jan-05 14:54
kshet2614-Jan-05 14:54 
GeneralRe: Kernel Level Files *Please Help!* Pin
Alex Korchemniy14-Jan-05 18:09
Alex Korchemniy14-Jan-05 18:09 
GeneralEnsuring text is always readable against background... Pin
Member 9614-Jan-05 14:09
Member 9614-Jan-05 14:09 
GeneralRe: Ensuring text is always readable against background... Pin
leppie14-Jan-05 19:14
leppie14-Jan-05 19:14 
GeneralRe: Ensuring text is always readable against background... Pin
Robert Rohde14-Jan-05 21:30
Robert Rohde14-Jan-05 21:30 
GeneralRe: Ensuring text is always readable against background... Pin
mav.northwind14-Jan-05 21:24
mav.northwind14-Jan-05 21:24 
GeneralFinal result.. Pin
Member 9615-Jan-05 6:05
Member 9615-Jan-05 6:05 
GeneralRe: Image Property Pin
14-Jan-05 11:33
suss14-Jan-05 11:33 

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.