I am having troubles writing to a CSV file, as VB.NET seems to think it is already in use by another app...
Here is a quick cut down version of the code:
VB Code:
Dim di As New FileInfo("users.csv") If di.Length <> 0 Then Dim userFile As New IO.StreamWriter("users.csv", True) userFile.Write("here is some text, and here is more") userFile.Close() End If
If required, I can post the entire chunk, but from what you see above, is there any reason why VB.NET will not write to users.csv?
Cheers.![]()





Reply With Quote