http://www.dreaminco...wtopic40107.htm
and this one :
http://www.builderau...ndow...20267367,00.htm
And now im hopelessly confused....
I got the program to create the text file but i cant get it to add the text file name to a master list...
If File.Exists("C:\Tempest Temp Files\" & tbxNationName.Text & ".txt") = False Then
IO.File.CreateText("C:\Tempest Temp Files\" & tbxNationName.Text & ".txt")
Dim writer As New System.IO.StreamWriter("C:\Tempest Temp Files\nationmasterlist.txt")
'write the file with the new line
writer.WriteLine(tbxNationName.Text)
writer.Close()
Else
MessageBox.Show("File Already Exists")
End If
i get the file created but no text appears in the master list
Any advice?
This post has been edited by fenrisulfr: 26 August 2008 - 09:25 PM

New Topic/Question
Reply




MultiQuote





|