Hello Xagon,
What's the problem? Directory.GetFiles returns you array of the files in
the current directory which you can open and paste content into you control.
Did you look at the MSDN sample of Directory.GetFiles?
X> Hi,
X>
X> I'm a newbie to C#, so forgive me if this is a dumb question.
X>
X> What I want to do is parse a directory of IRC logfiles and dump all
X> the .jpg and .gif links to a text file. If I could get a single
X> filename, I could load it into a richedit control and do the parsing
X> there but Directory.GetFiles doesn't seem to do what I want.
X>
X> Any tips on how to accomplisg this task?
X>
X> TIA.
X>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche