troubleshooting Question

Is there a way in VB.net to append text in a textbox, but leave the original text?

Avatar of Brian
BrianFlag for United States of America asked on
Visual Basic.NETMicrosoft Visual Studio
3 Comments2 Solutions335 ViewsLast Modified:
In a VB.net program, I have a textbox for notes.  The note will be pulled from a text file.  I'd like it so the user can read the note, but not modify it.  If the user wants to add to the note, he can type below it.  Is there a way to have read only text in a textbox, but allow the user to add text below it, or do I need 2 textboxes to accomplish this?  I would like to keep it to one textbox if possible.

Once the user adds text below the current text, then I have an "Add Note" button that I would like to have add the users text at the bottom of previous read only text and now the additional text would also be read only.  Users could keep adding more and more notes to the textbox, which get saved to a text file.  Is this possible to do with one textbox, or do I need two?
ASKER CERTIFIED SOLUTION
Éric Moreau
Senior .Net Consultant
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros