Discount Get BIS 311 ALL WEEKS Solution ONLY $59.95 $79.93
BIS 311 Lab 1 - an Original and A++ Work !!! [$6.99]
BIS 311 Lab 2 - an Original and A++ Work !!! [$8.99]
BIS 311 Lab 3 - an Original and A++ Work !!! [$11.99]
BIS 311 Lab 4 - an Original and A++ Work !!! [$12.99]
BIS 311 Lab 5 - an Original and A++ Work !!! [$12.99]
BIS 311 Lab 6 - an Original and A++ Work !!! [$12.99]
BIS 311 Lab 7 - an Original and A++ Work !!! [$12.99]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
BIS311 BIS 311 - BIS311 iLab 6 - BIS 311 Lab 6 - an Original and A++ Work !!!
    BIS311 BIS 311 - BIS311 iLab 6 - BIS 311 Lab 6 - an Original and A++ Work !!! BIS311 BIS 311 - BIS311 iLab 6 - BIS 311 Lab 6 - an Original and A++ Work !!! BIS311 BIS 311 - BIS311 iLab 6 - BIS 311 Lab 6 - an Original and A++ Work !!!

BIS311 BIS 311 - BIS311 iLab 6 - BIS 311 Lab 6 - an Original and A++ Work !!!

$12.99

Lab 6 of 7: User-Interface Validation in Visual Basic (40 Points)
Submit your assignment to the Dropbox located on the silver tab at the top of this page.
(See Syllabus “Due Dates for Assignments & Exams” for due dates.)
L A B O V E R V I E W
Scenario and Summary
In this lab, you’ll implement a program that accepts an OrderAmount and a SalesTax figure through textboxes.
The form you will create for this program will look like this.
The program should work as follows: When the user presses the button, the button-click event executes a number of selection structures that check the textboxes for validity. They check if the order amount is numeric and if the sales-tax percent is both numeric and between 0 and 0.14. If the data are invalid, error messages are displayed to the listbox. If the data are valid, the OrderCalculator class you implemented in a previous week is used to calculate the order total.
Here is what the form looks like with invalid input.
Here is what it looks like with valid input.
The OrderCalculator class is provided for you; all you have to do is add it to your Visual Basic project, design the user interface, and then create the Visual Basic code for the button-click event.
Deliverables
Section
Deliverable
Points
Step 9
Lab6YourFirstLastName.docx (Word document) Screen shot of Windows form Screen shot of button_click event code
40
Category
Points
%
Add the existing OrderCalculator class to your project.
7
17.5%
Create a form.
5
12.5%
Set the form and control properties, as instructed.
5
12.5%
Code the button-click event.
10
25%
Run and test the program.
3
7.5%
A form with invalid input and a validation message
5
12.5%
A form with valid input
5
12.5%
Total
40
100%
L A B S T E P S
Preparation
1. Get the OrderCalculator class code from Doc Sharing.
o Go to Doc Sharing and download the file called OrderCalculator.vb to the root directory of your computer’s C: drive or to the root directory of your USB drive. By the root directory, we mean the top-level folder on your machine, called C:\ for the C: drive or something like E:\ for your USB drive (the drive letter may vary for the USB drive). TIP: Don’t put the OrderCalculator.vb file on your desktop or in a folder somewhere; put it in the root directory of your C: or USB drive. This will make it easier to access from within Visual Studio later.
2. Log onto the Citrix Server and launch Visual Studio 2010.
L A B S T E P S
STEP 1
Start a new Visual Basic Windows Forms Application Project, and name it Lab6YourName.
L A B S T E P S
STEP 2
In the Solution Explorer, pull down the Project menu and select Add Existing Item.
An Add Existing Item dialog box will appear.
L A B S T E P S
STEP 3
Click on Computer in the left pane to show the available drives. If you saved the OrderCalcator.vb file that you downloaded earlier to your C: drive, then double click the C$ (\\Client) (V: ) drive, which selects the root directory of your home computer. If you saved OrderCalculator.vb to your USB drive, then double-click the drive with the drive letter of your USB drive, followed by a $. For example, if your USB drive is E:, double-click the E$ (\\Client) drive in Citrix. You should get this dialog box, which might have different folders and files than shown below. However, there should be an OrderCalculator.vb file in it, as shown.
L A B S T E P S
STEP 4
Select the OrderCalculator.vb file you placed there earlier, and click Add. Your Solution Explorer should now look like this.
L A B S T E P S
STEP 5
Double click on the Form1.vb form, and design it by dragging controls from the Toolbox so that it looks like this, with two textboxes, two labels, a button, and a listbox. (If necessary, refer to the more detailed directions in previous labs for help with designing the form.) Stretch the form and the Listbox to the right so that they are fairly wide. This will allow the Listbox to display error messages all on one line later on.
L A B S T E P S
STEP 6
Set the following properties of the controls in the Properties window.
Control
Property
Setting
Form1
Text
Lab6YourFirstLastName
Label1
Text
Order Amount
Label2
Text
Sales Tax Percent
Button1
Text
Calculate Total After Discount
Textbox1
Name
txtOrderAmount
Textbox2
Name
txtSalesTax
Listbox1
Name
lstMessages
If necessary, widen the button to show all of the words in its Text property. Your form should now look like this.
L A B S T E P S
STEP 7
Double click on the button to get to its click event. Put your name and the lab number in comments at the top of the screen.
Then, enter the following Visual Basic code that performs the required data validation and either displays an error message or uses the OrderCalculator class to calculate and display the result.
L A B S T E P S
STEP 8
Run the program, and test it for errors. Try entering invalid data into the form so that you can see how it handles empty textboxes, text-based values, or numbers out of the specified sales-tax range. (See the Scenario and Summary section at the beginning of this lab for examples of what the form should look like with invalid input and with valid input.)
L A B S T E P S
STEP 9
Create a word document called Lab6YourFirstLastName.docx, and paste screen shots of the form and the code for your button-click event into it. Save the Word document file, and submit it to the Lab 6 Dropbox.

Here is compete solution for BIS311 Lab 6

If you have more questions, please contact me via email support@extutorials.com

I will help you any time

Thank you

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B