hi all, i am currently writing a small program that my teacher has assigned to me. i thought it would be a simple task so i said sure, and began work. i have till next tuesday to complete it. problem is, i dont know how to make certain parts of it. What i need to be able to do is this: using 4 text boxes (txt1 txt2 txt3 txt4) the user will imput information. Using one big main textbox (bodymain) the user will type for example a story. the information from the 4 small textbox's and the info from bodymain and write them both to a .txt file. the 4 small textbox info will be written as header info into the txt file, and bodymain will be written below it. here is what the txt file would look like when opened in notepad. the line# is the line of the txtfile.
1John McColton
2Story for Ms. Craton
3November 14 2000
4Story for english
5
6Hello, my name is John. Im an writing my story
7for Ms. Craton. My story is about my dog.
8
9
10
etc.
my program will also be able to open the txt file. i want the info in lines 1-4 to be loaded into the 4 small textbox's and body main so you can edit and save them again. i know what i want to acomplish with my code, i just dont know what code to write. if anyone can help me out, or give me some suggestions it would be greatly appreciated.
1John McColton
2Story for Ms. Craton
3November 14 2000
4Story for english
5
6Hello, my name is John. Im an writing my story
7for Ms. Craton. My story is about my dog.
8
9
10
etc.
my program will also be able to open the txt file. i want the info in lines 1-4 to be loaded into the 4 small textbox's and body main so you can edit and save them again. i know what i want to acomplish with my code, i just dont know what code to write. if anyone can help me out, or give me some suggestions it would be greatly appreciated.