Click here to Skip to main content
15,894,896 members

Comments by Liam Cairns Kelly (Top 1 by date)

Liam Cairns Kelly 22-Aug-12 13:01pm View    
Hari, using the StreamWriter.Dispose() function does the same thing as closing the file, pretty much. The file reading doesn't appear to be the issue. When I set up breakpoints, the text file is loaded into the array "Lines" and contains the text that was just added by the other form. My issue is that for some odd reason, it won't write the updated text to the ListBox on my form. Like I said before, the ListBox updates when the second form uses the function, but not when the first form does it.