I am not sure I understand your need.
If you just want a simple version of notepad with all the limitations of notepad, the standard text-box control will work fine.
If you want to be able to have various text formating in your display, such as different fonts and different sizes being displayed at the same time, you will want to use something like the Rich Textbox Control.
The "more coding" that you speak of is the RTF markup. This is very important for storing the information needed to describe the formatting. If you don't want this, just use the Text property of the control to retrieve the text minus the formatting and save this through code rather than using the SaveFile method of the rtf control.
So, what are your options if you want to develop a high-functionality text entry screen:
- Write your own control in C++ which is probably NOT a reasonable path for you.
- You could buy a 3rd party control, like the Tx Text Control (
http://www.textcontrol.com/), for example. This would be the "
VB" way of doing this, and to put a finer point on it - this is really the way
VB was intended to be used: To provide the environment and "glue" for putting together complex and full-featured products by re-using commercially available components.
Anyway - If you want features like deep undo functionality, a high degree of formatting, the ability to save to PDF, HTML, RTF, etc then a third party control will be a good anwser. If you jut need minimal editing funtionality, you can do a lot with just the Text Box or an RTF control.
Have fun
Woody Z
http://www.learntoprogramnow.com