I want to save text from a Richtextbox into a .txt file using this code.
But I don't know how to accurately choose destination path
and I would like to make the file name the day, date, and year that you can pick from using
the "DateTimePicker" component.
(My example in code)
that way when they choose a specific date from the "DateTimePicker" I can write a command to open a .txt file from that date (which will be named that date)
Thank you.
Code:
RichTextBox1.SaveFile(" ", RichTextBoxStreamType.PlainText)
and I would like to make the file name the day, date, and year that you can pick from using
the "DateTimePicker" component.
(My example in code)
Code:
RichTextBox1.SaveFile("C:\a folder i set up in my install to their C: drive & Saturday, October 27th, 2012=filename ", RichTextBoxStreamType.PlainText)
Thank you.