Maitrey Pandya

Maitrey Pandya

  • NA
  • 11
  • 887

Create and Write to text files

Apr 23 2020 2:51 PM
Hello,
 
I am working on a windows application where I have a form which asks user to enter details. Once finished, user can save this data as a text file. I also want user to pick a location and name of the text file. But, I am not quite sure how I will implement both of these logics. 
 
1. When "Save As TXT" is pressed allow user to pick a location and name of the text file.
2. Write a code to gather text from each text boxes and save it.
 
Text file should look like this:
 
Name: xyz
Inner Tube OD: 4 in
etc.,
  
Attached is the screenshot of my application form. I would love to share my complete program if it helps.
 
 
 
Thanks in advance, 

Answers (5)