Simple School VB Project 3

Terminé Publié le Apr 14, 2004 Paiement à la livraison
Terminé Paiement à la livraison

**Previous bid requests (a month ago) were cancelled because I received assistance from a friend after submitting.

This time he is unavailable, and I will be accepting and paying for (PayPal) the lowest bids that can meet deliverables in the quickest timeframe. Thanks!

-----------------------------------------------------------

In this exercise. you will create a calculator that raises error handlers to trap type conversion and numeric errors. In addition, you will use the ColorDialog and FontDialog to allow the user to customize the interface.**

## Deliverables

The Figure shows the completed form for the solution. (attached in [url removed, login to view])

• Save and execute the file named [[url removed, login to view]][1]. Set the drive designator as necessary. Click the buttons 1, 2, and 3. As you click each button, the value appears in the label at the top of the form. Click the + button. The value appears in the label at the right of the form. Enter another number and then click the + button again. The two values are added together, and the intermediate result is stored in the label on the right side of the form. Continue to enter numbers. Click the C button to clear the calculator. Exit the solution.

• Start VB NET and create a new solution named [url removed, login to view] (will send name via rent-a-coder correspondence after bid accepted), setting the drive designator as necessary.

• Create the control instances on the form as shown below

• Write the code so that when the user presses one of the numeric buttons on the calculator, the value is appended to the label appearing at the top of the form.

• Write the statements to perform arithmetic operations on the current numbers. If the operation is the first operand in an expression, then display only the operand in the tape label. Otherwise, perform the operation and display the result in the tape label. Each time an operation is performed, your solution should clear the contents of the current number label. Write the code to perform the following operations: addition (+), subtraction (-), multiplication (*), and division (/). This task requires some thought because the arithmetic operation that you need to perform is not performed on the current operator. Rather, the operation is performed on the previous operator. Hint: create a variable to store the previous operator. Your code also needs to detect whether the operand is the first operand.

• Write the statements for the C button. This button should clear the contents of the number label and the tape label.

• Create error handlers as necessary to prevent all possible errors, including numeric overflow, numeric underflow errors in type conversion, and division by zero errors.

• Create a menu for the form with a single menu title having a caption of Format. Create three menu items on the Format menu having captions of Background Colors, Text Colors, and Fonts.

• Create an instance of the ColorDialog control on the form. When the user clicks the Background Colors button, set the background color of the two labels appearing on the form. When the user clicks the Text Colors button, set the text color of the Label control instances. Allow the user to define custom colors.

• Create an instance of the FontDialog on the form. When the user clicks the Fonts menu item, set the Font in the two labels to the font selected by the user.

## Platform

VB.net

.NET Ingénierie MySQL PHP Architecture Logicielle Tests de Logiciels Visual Basic

Nº du projet : #3173569

À propos du projet

5 propositions Projet à distance Actif Apr 16, 2004

Décerné à:

visualcodervw

See private message.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(19 Commentaires)
2.7

5 freelances font une offre moyenne de 15 $ pour ce travail

TakeRealUK

See private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(554 Commentaires)
6.7
sawamu

See private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(215 Commentaires)
5.9
sergruch

See private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(84 Commentaires)
5.5
waynewareso

See private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(75 Commentaires)
5.2
wwwproduct

See private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
0.0