Find Jobs
Hire Freelancers

Dialog Controls and Error Handling

$20-25 USD

Closed
Posted over 20 years ago

$20-25 USD

Paid on delivery
• Start VB NET and create a new solution named [login to view URL], 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. 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 (*), division (/), and equals (=). 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. Study a regular calculator. Plan and design first; code last. • 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. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows XP Visual Basic .NET
Project ID: 3087407

About the project

1 proposal
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $13 USD for this job
User Avatar
See private message.
$12.75 USD in 4 days
5.0 (119 reviews)
7.8
7.8
User Avatar
See private message.
$17 USD in 4 days
5.0 (554 reviews)
6.7
6.7

About the client

Flag of UNITED STATES
United States
5.0
4
Member since Dec 10, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.