I'm new to dreamincode so I will try to follow the rules accordingly.
I am trying to make one of my forms streamwrite the textboxes to a ".txt"
The problem i'm having is making a statement to make a new file name everytime and not the concurrent.
I've looked through MSDN and haven't seen much, also searched through here.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles createjobbtn.Click Using sw As StreamWriter = New StreamWriter("C:\Users\Boutique Windows\Documents\bin\.txt") sw.WriteLine(customernametxt.Text) sw.WriteLine(customercontacttxt.Text) sw.WriteLine(jobaddresstxt.Text) sw.Close() End Using
As you will see i have specified \.txt"
This only sets the files name to nothing.
What do you recommend i do to make the file name generate every time i use the form?