I am trying to save data from some textboxes that I have on a form using this code:
It adds the information from the text boxes just fine, but the information is all on the same line. Is there any way to make each one go to a different line?Code:Private Sub AddClientBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddClientBtn.Click My.Computer.FileSystem.WriteAllText("G:\Stuff\Lender Ins Files\ProductionReports.dat", "date_" & CalendarBRM.Text, True) My.Computer.FileSystem.WriteAllText("G:\Stuff\Lender Ins Files\ProductionReports.dat", "clientName_" & ClientNameBoxBRM.Text, True) My.Computer.FileSystem.WriteAllText("G:\Stuff\Lender Ins Files\ProductionReports.dat", "policyType_" & PolicyTypeBoxBRM.Text, True) My.Computer.FileSystem.WriteAllText("G:\Stuff\Lender Ins Files\ProductionReports.dat", "annualPremium_" & AnnualPremiumBoxBRM.Text, True) My.Computer.FileSystem.WriteAllText("G:\Stuff\Lender Ins Files\ProductionReports.dat", "agentCsr_" & AgentCsrBoxBRM.Text, True) End Sub




Reply With Quote