paulthepaddy
Well-known member
hi guys/girlsl, i need help with stream writer, i can get it read lines and stuff like that but now i need Streamwriter to write to a colour.txt file (already populated with data) and insert a line that isn't already in the file, into alph order eg
combobox reads and displays list from txt file.
their is a colour thats isn't in the text file, so i would like it to take the colour from the combobox that was typed in by the user and place it into the colour.txt file in alphabetical order
(these are car colours so their are 100's and 1000's per manufacturer, its not as basic as i want red blue black lol)
i was able to find loads of data about streamreader but not so much about stream writer sorry guys as i could huess that this is a pretty basic question
combobox reads and displays list from txt file.
their is a colour thats isn't in the text file, so i would like it to take the colour from the combobox that was typed in by the user and place it into the colour.txt file in alphabetical order
(these are car colours so their are 100's and 1000's per manufacturer, its not as basic as i want red blue black lol)
i was able to find loads of data about streamreader but not so much about stream writer sorry guys as i could huess that this is a pretty basic question