How do i load a text file to a windows clr textbox?
and how do i save the lines of the textbox to a file?
Martje
0
Junior Poster in Training
Recommended Answers
Jump to PostHow do i load a text file to a windows clr textbox?
Using a
System::IO::StreamReader object
and it'sReadToEnd()
method. This will give you aString ^
to which you can set your textBox1.Text.and how do i save the lines of the textbox to a file?
Use a
System::IO;:StreamWriter
…
Jump to PostSomething is wrong with your
linesuckup.linenum
value. Where is that coming from? Check it versustextBox2->Lines->Count
.
All 7 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Martje
0
Junior Poster in Training
Martje
0
Junior Poster in Training
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Martje
0
Junior Poster in Training
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Martje
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.