| NightShade01 |
Aug 20th, 2006 10:31 PM |
return key
Hey all quick question. I want to display all the file names of all the files within a directory. so i wrote a click_button function that does the following:
:
Dim sFile() As String = Directory.GetFiles("C:\test", "*.txt")
Dim i As Integer
For i = 0 To sFile.GetUpperBound(0)
txtconsole.AppendText(sFile(0))
Next
the problem is that it just displays my text in a text box one after the other. I want it to output the file name, go to the next line and then out the next file name. I can't seem to find how to get the cursor to "return" b4 outputting the next file name. Any ideas?
|