Easy Word Processing
Category:C#, VB.NET, ASP.NET
Version Compatibility: Visual Basic.NET
This application demonstrates an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control's text or RTF content. This article-style documentation and the sample application will use this extended version of the RTF control to demonstrate the following word processor related functions: •Opening Text, RTF, HTML, or other text files into a RTB control •Saving Text, RTF, HTML, or other text files from an RTB control •Implementation of the Page Setup dialog control •Implementation of the Print Preview dialog control •Implementation of the Print dialog control •Setting font properties on selected text or RTF within the RTB control •Searching for and highlighting text contained within the RTB control •Searching for and replacing text contained within the RTB control •Adding Indentation to sections of an RTB’s content •Adding Bullets to sections of an RTB’s content •Implementing Undo/Redo within an RTB •Implementing Select All, Cut, Copy, and Paste in an RTB control •Embedding Images into an RTB control •Setting page and font colors •Implementing Alignment options in an RTB control
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.