Topic renamed to be more descriptive of the problem.
It can be an INI or it could be a TXT or a DAT, it really doesn't matter. Use the StreamWriter/StreamReader objects to read and write to the file. Just save it with whichever extension you wish.
Here is an example of how to do what you are asking.
Write to file:
CODE
Try
Dim writer As New StreamWriter("myFile.ini")
writer.WriteLine("My Color")
writer.WriteLine("Username")
writer.WriteLine("Anything")
writer.Close()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
An example of how to read that same file.
CODE
Dim thisColor As String = ""
Dim username As String = ""
Dim anything As String = ""
Try
Dim reader As New StreamReader("myFile.ini")
thisColor = reader.ReadLine()
username = reader.ReadLine()
anything = reader.ReadLine()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
I output it to a messagebox so you could see the results of reading the file using the following line.
CODE
MessageBox.Show(thisColor & ControlChars.NewLine & username & ControlChars.NewLine & anything)
It is pretty simple and straight forward. Hope this helps.