Create a simple text editor that has one large rich text box

Assignment Help C/C++ Programming
Reference no: EM13772220

1. Complete the following programming exercise (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX). You will use the OpenFileDialog, StreamReader and StreamWriter objects; the Close, Peek, ReadLine, ShowDialog and WriteLine methods.

Create a simple text editor that has one large rich text box (with its Multiline property set to true). Set the text control to fill the form and set its Anchor property to all four edges so that the control fills the form even when it is resized.

Allow the user to save the contents of the text box in a data file and load a data file into the text box using the Open File dialog box.

Use a StreamWriter and StreamReader or File.WriteAllText and File. ReadAllText.

Make sure you close your project when complete. Make a copy of the project folder, compress it to a single file, and submit it.

2. Complete the following programming exercise (WRITE AN MDI PROJECT THAT IS A SIMPLE TEXT EDITOR). You will use the IsMdiContainer and MdiWindowListItem properties; the LayoutMdi method. Refer back to the previous required assignment from Lesson K08-5 (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX) as a base for this assignment.

Write an MDI application that is a simple text editor. Allow the user to open multiple documents, each in a separate child form. For the text editor, use one big TextBox control with its Multiline property set to true or a RichTextBox control. Set the control's Anchor property to all four edges so the control fills its form.

The main form should have an Open menu item to open previously saved files; the child forms should have a Save menu item to save their text to a file. Use the file handling that you learned and display the name of the file in the form's title bar.

Make sure you close your project when complete. Make a copy of the project folder, compress it to a single file, and submit it.

Reference no: EM13772220

Questions Cloud

What is your favorite green product in construction : What is your favorite green product in (construction)? What are its best features? Its worst? How would you convince people to buy it? What is the price for it in Tennessee State?
Critique a human resource article which study these fields : Critique a human resource article which study these fields: work flows, job analysis, equal opportunity and the legal environment, manging diversity. The critique must contain the following: -A brief introduction of the article A statement of the pro..
Liability area for criminal justice professionals : Based on your research what do you feel would be the one single most high liability area for criminal justice professionals
Write an essay about martin luther king junior : Write an essay about Martin Luther King Junior.
Create a simple text editor that has one large rich text box : Complete the following programming exercise (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX). You will use the OpenFileDialog, StreamReader and StreamWriter objects; the Close, Peek, ReadLine, ShowDialog and WriteLine methods.
Critique a human resource article which study staffing : Critique a human resource article which study Staffing (recruting and selecting employees, managing employee seperations, downsizing, and outplacement) The critique must contain the following: -A brief introduction of the article -A statement of the ..
General population perceives storm watches and warnings : Over the past century, tornado deaths in the U.S. have been declining significantly. Have the number of observed tornadoes gone down as well? Is there any relationship between these two variables? What does this tell us about cause-and-effect rela..
Calculate the average of the 5 grades passed and display : Calculate the average of the 5 grades passed in and display the average with 1 decimal place and also display the letter grade.
What do you feel was the intent of the court : Please explain the plain view doctrine as it would apply to police searches of vehicles. What do you feel was the intent of the court when they created this doctrine

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Calculates the factorial value of its single int parameter

Write a method called fact that recursively calculates the factorial value of its single int parameter.

  Write a function named xytopolar

Write a function named "XYtoPolar" that has 2 double value parameters and 2 double reference parameters that converts x,y coordinates to polar coordinates. The prototype is: void XYtoPolar(double x, double y, double* angle, double* radius);

  Display an error message and prompt the user again

Write an application that creates a quiz, which contains at least 5 questions about a hobby, popular music, astronomy, or any other personal interest.

  Execute tests and repetitions

Read data from standard input and store them in an array, Execute tests and repetitions

  Compute the stress and strain in a steel rod of diameter d

Write a MAIN function and the following funcations to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compress loads P of 10,000 to 1,000,000 pounds in increments of 100,000 pounds.

  Write a function that computes length of a character string

Write a function that computes the length of a character string (i.e. write your own implementation of the strlen function.

  Determines the largest value

Write a program Largest that reads three integers from the user and determines the largest value - Write a program InOrder that reads three integers from the user and prints the three integers in sorted order.

  Find the prime numbers

Write a c++ program to find the prime numbers

  An arithmetic expression

The statements of that expression language consist of an arithmetic expression followed by a list of assignments. Assignments are separated from the expression and each other by commas. A semicolon terminates the expression. The arithmetic expr..

  Create a structure that has one variable called value

"Create a structure that has one variable called value and one pointer to the list (making it a linked list). Prompt for 5 values from the keyboard as input and store them in the linked list. Print out the current contents of the list.

  C program to compute parking fare for customers

Write C program to compute parking fare for customers who park their cars in parking lot when following information is provided: A character showing type of vehicle: C for car, B for bus and T for truck

  Variables - features of good program design

Explain one reason why the variable name in question is acceptable but not recommended, and provide an alternative name that would both satisfy the compiler and be recommended according to variable naming conventions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd