ENG SL     login   register  
  tutorials

previous | next

excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - Programming Assignment 2 - Week 2 - NEWEST VERSION - Create a Visual Basic program that creates a bill for an automobile repair shop
                                        Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below. Name your application Assignment_2.Name the form frmAssignment_2.The title should be as depicted below.Name the labels lblCustomer, lblPhone, lblHours, and lblParts.Name the textboxes txtCustomer,txtHours, and txtParts.Name the listboxlstBill.The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.Convert the customer name variable to upper case before displaying it in the listbox.Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.Be sure to use currency format where appropriate.Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]
quote
any further inquirem...(6 more words & 2 attachments).
attachments
  (128X96)  
  (412X510)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - Programming Assignment 2 - Week 2 - Create a Visual Basic program that creates a bill for an automobile repair shop
                                        Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below. Name your application Assignment_2.Name the form frmAssignment_2.The title should be as depicted below.Name the labels lblCustomer, lblPhone, lblHours, and lblParts.Name the textboxes txtCustomer,txtHours, and txtParts.Name the listboxlstBill.The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.Convert the customer name variable to upper case before displaying it in the listbox.Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.Be sure to use currency format where appropriate.Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]
quote
her inquirements, pl...(6 more words & 2 attachments).
attachments
  (128X96)  
  (412X510)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - Programming Assignment 10 - Week 8 - Write a Visual Basic program to implement the cash register
                                        Write a Visual Basic program to implement the cash register in the diagram below. The program should have a class called CashRegister that keeps track of the balance and allows deposits and withdrawals. The class should not permit a negative balance. If the user tries to subtract a number that would result in a negative balance, the system should produce a messagebox indicating that the transaction would result in a negative balance, which is not permitted.
quote
you for using this ...(6 more words & 4 attachments).
attachments
  (128X96)  
  (412X510)  
  (128X96)  
  (128X96)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - Programming Assignment 10 - Week 8 - NEWEST VERSION - Write a Visual Basic program to implement the cash register
                                        Write a Visual Basic program to implement the cash register in the diagram below. The program should have a class called CashRegister that keeps track of the balance and allows deposits and withdrawals. The class should not permit a negative balance. If the user tries to subtract a number that would result in a negative balance, the system should produce a messagebox indicating that the transaction would result in a negative balance, which is not permitted.
quote
e an e-mail.Thank yo...(6 more words & 4 attachments).
attachments
  (128X96)  
  (412X510)  
  (128X96)  
  (128X96)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - Programming Assignment 1 - Week 1 - Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of t
                                        Programming Assignment 1 Instructions Adapted from Introduction to Programming Using Visual Basic 2012, 9/E, David I. Schneider. Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of the textbox. Your form should have 4 buttons, 2 labels, and 1 textbox. 1.      Name the form frmAssignment_1 and put Assignment #1 in its title bar. 2.      Name the buttons btnBlue, btnYellow, btnRed, and btnGreen. The captions on the labels should be Blue, Yellow, Red, and Green, respectively. The tab order of the buttons should be Blue, Yellow, Red, and Green. Create access keys for the buttons with the “B” underlined on the Blue button, the “Y” underlined on the Yellow button, the “R” underlined on the Red button, and the “G” underlined on the Green button. 3.      Name the textbox txtVerse and enter into it the Bible verse from John 3:16 as depicted below. The form should open with this textbox having the focus. The font of the textbox should be Script MT Bold, size 12, style Bold. 4.      Name the labels lblBackground and lblForeground. The text of the labels should be Background and Foreground, respectively. The font of the labels should be Times New Roman, size 12, Bold. 5.      When the user clicks the Blue button, the background of the textbox should become blue (use Color.Blue). 6.      When the user clicks the Yellow button, the background of the textbox should become yellow (use Color.Yellow). 7.      When the user clicks the Red button, the text within the textbox should become red (use Color.Red). 8.      When the user clicks the Green button, the text within the textbox should become green (use Color.Green).
quote
rial! Shall you hav...(6 more words & 3 attachments).
attachments
  (128X96)  
  (412X510)  
  (128X96)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project
                                        Assignment 1 Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of the textbox. Your form should have 4 buttons, 2 labels, and 1 textbox. 1.      Name the form frmAssignment_1 and put Assignment #1 in its title bar. 2.      Name the buttons btnBlue, btnYellow, btnRed, and btnGreen. The captions on the labels should be Blue, Yellow, Red, and Green, respectively. The tab order of the buttons should be Blue, Yellow, Red, and Green. Create access keys for the buttons with the “B” underlined on the Blue button, the “Y” underlined on the Yellow button, the “R” underlined on the Red button, and the “G” underlined on the Green button. 3.      Name the textbox txtVerse and enter into it the Bible verse from John 3:16 as depicted below. The form should open with this textbox having the focus. The font of the textbox should be Script MT Bold, size 12, style Bold. 4.      Name the labels lblBackground and lblForeground. The text of the labels should be Background and Foreground, respectively. The font of the labels should be Times New Roman, size 12, Bold. 5.      When the user clicks the Blue button, the background of the textbox should become blue (use Color.Blue). 6.      When the user clicks the Yellow button, the background of the textbox should become yellow (use Color.Yellow). 7.      When the user clicks the Red button, the text within the textbox should become red (use Color.Red). 8.      When the user clicks the Green button, the text within the textbox should become green (use Color.Green). Assignment 2 Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below. Name your application Assignment_2.Name the form frmAssignment_2.The title should be as depicted below.Name the labels lblCustomer, lblPhone, lblHours, and lblParts.Name the textboxes txtCustomer,txtHours, and txtParts.Name the listboxlstBill.The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.Convert the customer name variable to upper case before displaying it in the listbox.Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.Be sure to use currency format where appropriate.Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.] Assignment 3 Create a Visual Basic program to analyze a mortgage.The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.When the user clicks on the button, the information that was entered should be checked to make sure it is reasonable.If bad data have been supplied, the user should be so advised.Otherwise, the monthly payment and the total amount of interest paid should be displayed.The formula for the monthly payment is: Payment = p * r / (1 – (1 + r) ^ (-n)), Where p is the amount of the loan, r is the monthly interest rate (annual rate divided by 12) given as a number between 0 ( for 0 percent) and 1(for 100 percent), and n is the duration of the loan in months.The formula for the total interest paid is: total interest = n * payment – p. Design your screen to look like the one below.Store the amounts entered by the user in variables and use these variables in the formula.Use appropriate naming conventions for controls and variables.Include internal documentation to describe the logic in your program (i.e. put comments in your code).Make sure your error messages are meaningful.Ensure that the user cannot enter anything into controls that display your totals. Assignment 4 A furniture manufacturer makes two types of furniture—chairs and sofas. The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%. Write a Visual Basic program to create an invoice form for an order (see the diagram below). After the data on the left side of the form are entered, the user can display an invoice in a list box by pressing the Process Order button. The user can click on the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program. The invoice number consists of the capitalized first two letters of the customer’s last name, followed by the last four digits of the zip code. The customer name is input with the last name first, followed by a comma, a space, and the first name. However, the name is displayed in the invoice in the proper order. The generation of the invoice number and the reordering of the first and last names should be carried out by Function procedures. Assignment 5 Instructions Depreciation is the systematic and rational allocation of cost over a period of time. For tax purposes, an item may be depreciated over a period of several years, n.With the straight-line method of depreciation, each year the item depreciates by 1/nth of its original value.With the double-declining-balance method of depreciation, each year the item depreciates by 2/nths of its value at the beginning of that year.(In the final year, it is depreciated by its value at the beginning of the year.)Write a Visual Basic program that performs the following tasks: Deliverables 1. Request a description of the item, the year of the purchase, the cost of the item, the number of years to be depreciated (estimated life), and the method of depreciation.The method of depreciation should be chosen by clicking on one of two buttons. 2. Using the formulas below, calculate the amount of
quote
ct. If you have more question or need help, please contact me via email supp...(26 more words & 4 attachments).
attachments
  (128X96)  
  (128X96)  
  (412X510)  
  (128X96)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments - NEWEST VERSION -1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Proj
                                        Assignment 1 Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of the textbox. Your form should have 4 buttons, 2 labels, and 1 textbox. 1.      Name the form frmAssignment_1 and put Assignment #1 in its title bar. 2.      Name the buttons btnBlue, btnYellow, btnRed, and btnGreen. The captions on the labels should be Blue, Yellow, Red, and Green, respectively. The tab order of the buttons should be Blue, Yellow, Red, and Green. Create access keys for the buttons with the “B” underlined on the Blue button, the “Y” underlined on the Yellow button, the “R” underlined on the Red button, and the “G” underlined on the Green button. 3.      Name the textbox txtVerse and enter into it the Bible verse from John 3:16 as depicted below. The form should open with this textbox having the focus. The font of the textbox should be Script MT Bold, size 12, style Bold. 4.      Name the labels lblBackground and lblForeground. The text of the labels should be Background and Foreground, respectively. The font of the labels should be Times New Roman, size 12, Bold. 5.      When the user clicks the Blue button, the background of the textbox should become blue (use Color.Blue). 6.      When the user clicks the Yellow button, the background of the textbox should become yellow (use Color.Yellow). 7.      When the user clicks the Red button, the text within the textbox should become red (use Color.Red). 8.      When the user clicks the Green button, the text within the textbox should become green (use Color.Green). Assignment 2 Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below. Name your application Assignment_2.Name the form frmAssignment_2.The title should be as depicted below.Name the labels lblCustomer, lblPhone, lblHours, and lblParts.Name the textboxes txtCustomer,txtHours, and txtParts.Name the listboxlstBill.The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.Convert the customer name variable to upper case before displaying it in the listbox.Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.Be sure to use currency format where appropriate.Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]Assignment 3 Create a Visual Basic program to analyze a mortgage.The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.When the user clicks on the button, the information that was entered should be checked to make sure it is reasonable.If bad data have been supplied, the user should be so advised.Otherwise, the monthly payment and the total amount of interest paid should be displayed.The formula for the monthly payment is: Payment = p * r / (1 – (1 + r) ^ (-n)), Where p is the amount of the loan, r is the monthly interest rate (annual rate divided by 12) given as a number between 0 ( for 0 percent) and 1(for 100 percent), and n is the duration of the loan in months.The formula for the total interest paid is: total interest = n * payment – p. Design your screen to look like the one below.Store the amounts entered by the user in variables and use these variables in the formula.Use appropriate naming conventions for controls and variables.Include internal documentation to describe the logic in your program (i.e. put comments in your code).Make sure your error messages are meaningful.Ensure that the user cannot enter anything into controls that display your totals.Assignment 4 A furniture manufacturer makes two types of furniture—chairs and sofas. The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%. Write a Visual Basic program to create an invoice form for an order (see the diagram below). After the data on the left side of the form are entered, the user can display an invoice in a list box by pressing the Process Order button. The user can click on the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program. The invoice number consists of the capitalized first two letters of the customer’s last name, followed by the last four digits of the zip code. The customer name is input with the last name first, followed by a comma, a space, and the first name. However, the name is displayed in the invoice in the proper order. The generation of the invoice number and the reordering of the first and last names should be carried out by Function procedures. Assignment 5 Depreciation using Sum of the Years’ Digits Method: Instructions: Depreciation is the systematic and rational allocation of cost over a period of time. The study of accounting teaches us that several different methods are used to allocat
quote
, please send me an...(6 more words & 4 attachments).
attachments
  (128X96)  
  (128X96)  
  (412X510)  
  (128X96)  
view
mbaGrad
 mbaGrad
library
ACC 300 Portfolio Project
 The Portfolio Project is comprised of 5 questions. These questions are independent of each other. Please download the exceldocument titled ACC300_PortfolioTemplate posted in the week 8 assignments page to complete the project using the information below. All answers to the five questions should be submitted on the downloaded template. Question 1 Kelly Consulting Post-closing Trial Balance April 30, 2008 Account title Debit Credit Accounts Receivables 3400 Supplies 1350 Prepaid Rent 3200 prepaid insurance 1500 Office Equipment 14500 Accumulated Depreciation ? ? ? ? ? ? ? 330 Accounts payable 800 Salary payable ? ? ? ? ? ? ? 120 Kelly Capital ? ? ? ? ? ? ? 44800 Total $46,050 $46,050 Requirements: a) Journalize the following transactions using the file called student Template. b) Post them to the general ledgers or T accounts using the same file. 1) Received cash from clients as an advance payment for services to be provided and recorded it as unearned fees, $1,550. 2) Received cash from clients on account, $1,750. 3) Paid cash for a newspaper advertisement, $100 4) Paid Office Station Co., previously posted to accounts payable for, $400 5) Recorded services provided on account for the period May 1-15, $5,100. 6) Paid part-time receptionist for two weeks' salary including the amount owed on April 30, $750 7) Recorded cash received from cash clients for fees earned during the period May 1-16, $7,380 8) Purchased supplies on account, $500. 9) Recorded services provided on account for the period May 16-20, $2,900. ?????????????????Cash 22,100 ? ?? ????? ?? ????????????? 10)Recorded cash from cash clients for fees earned for the period May 17-23, $4,200. 11) Received cash from clients on account, $6,600. 12) Paid part-time receptionist for two weeks' salary, $750. ?Question 2 Woods corporation Unadjusted Trial Balance December 31, 2014 Account title Accounts Receivables Debit Credit ?????????????????Cash 18,570 11,900 ?????Supplies ? ? ? ? 1,820 Prepaid Rent 750 ?????Equipment ? ? ? ? 12,000 Accumulated Depreciation 1,100 ??Accounts payable ? ? ? ? ? ? ? 1,050 Unearned Fees 2,800 ??Capital ? ? ? ? ? ? ? 37,800 Dividends 1400 ??Fees earned ? ? ? ? ? ? ? 51450 Wages Expense 28210 ?????Rent expense ? ? ? ? 2250 Utilities expense 16040 ?????Miscellaneous Expenses ? ? ? ? 1260 Total Requirements: $94,200 $94,200 ??a) Journalize the following adjusting entries as of 12/31/2014. Assume that all adjustments are made on a monthly basis. Woods corporation fiscal year ends on 1/31 b) Post the adjusting entries to the unadjusted trial balance and prepare the adjusted trial balance. A) The equipment was purchased on January 1 of this year. It has a 10 year life. There is no salvage value. Use the straight line method. B) The amount of supplies on hand as of December 31 is $1000.00 C) Fees earned and unbilled $ 1,200 D) Additional fees earned (collected in prior periods) $ 800.00 E) Wages incurred and not paid $ 700 F) Rent was prepaid on February 1 of this year for one year in the amount of $3000 . Question 3 M&D Inc Adjusted Trial Balance 12/31/14 Complete the income statement and balance sheets columns of the worksheet using the following information. ?????Account title Debit Credit ?????????????Cash 15,200 Accounts Receivable 200 Supplies ? ? ? ? 1000 Prepaid insurance 550 Equipment ? ? ? ? 5000 Accumulated Depreciation 40 Notes Payable ? ? ? ? ? ? ? 5000 Accounts Payable 2500 Unearned Service revenue ? ? ? ? ? ? ? 800 Salaries & wages payable 1200 Interest payable ? ? ? ? ? ? ? 50 ????????????????Owner's capital Owner's drawing ? ? ? ? 500 Service revenue Salaries & wages expense ? ? ? ? 5200 Supplies expenses 1500 Rent expense ? ? ? ? 900 Insurance expense 50 Interest expense ? ? ? ? 50 Depreciation expense 40 Question 4 Harvest incorporated Adjusted Trial Balance December 31, 2014 Account title 10000 10600 ?????????????????????????????Total 30,190 30,190 ???????Debit Credit ?????????????Cash $6,700 Accounts Receivable 600 ?? ?????????????Supplies 1,000 Prepaid rent 900 Equipment ? ? ? ? 15,000 Accumulated Depreciation 850 Notes Payable ? ? ? ? ? ? ? 5,000 Accounts Payable 1,510 Unearned rent revenue ? ? ? ? ? ? ? 500 Salaries & wages payable 400 Interest payable ? ? ? ? ? ? ? 50 Owner's capital 14,000 Owner's drawing ? ? ? ? 600 Service revenue 14,200 Salaries & wages expense ? ? ? ? 9,400 Supplies expenses 200 Rent expense ? ? ? ? 1,500 Utilities expense 510 Interest expense ? ? ? ? 50 Depreciation expense 850 Rent revenue ? ? ? ? ? ? ? 800 Total $37,310 $37,310 Requirements: a) Prepare an income statement for the year ending 12/31/2014. b) Prepare a balance sheet as of 12/31/2014.
quote
te so...(1 more words & 2 attachments).
attachments
  (31KB)  
  (41KB)  
view
excellentTutor
 excellentTutor
library
BMIS208 BMIS/208 BMIS 208 - All Weeks - All Assignments 2 3 4 5 6 7 8 9 10 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8
                                        Assignment 2 Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below. Name your application Assignment_2.Name the form frmAssignment_2.The title should be as depicted below.Name the labels lblCustomer, lblPhone, lblHours, and lblParts.Name the textboxes txtCustomer,txtHours, and txtParts.Name the listboxlstBill.The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.Convert the customer name variable to upper case before displaying it in the listbox.Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.Be sure to use currency format where appropriate.Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.] Assignment 3 Create a Visual Basic program to analyze a mortgage.The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.When the user clicks on the button, the information that was entered should be checked to make sure it is reasonable.If bad data have been supplied, the user should be so advised.Otherwise, the monthly payment and the total amount of interest paid should be displayed.The formula for the monthly payment is: Payment = p * r / (1 – (1 + r) ^ (-n)), Where p is the amount of the loan, r is the monthly interest rate (annual rate divided by 12) given as a number between 0 ( for 0 percent) and 1(for 100 percent), and n is the duration of the loan in months.The formula for the total interest paid is: total interest = n * payment – p. Design your screen to look like the one below.Store the amounts entered by the user in variables and use these variables in the formula.Use appropriate naming conventions for controls and variables.Include internal documentation to describe the logic in your program (i.e. put comments in your code).Make sure your error messages are meaningful.Ensure that the user cannot enter anything into controls that display your totals. Assignment 4 A furniture manufacturer makes two types of furniture—chairs and sofas. The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%. Write a Visual Basic program to create an invoice form for an order (see the diagram below). After the data on the left side of the form are entered, the user can display an invoice in a list box by pressing the Process Order button. The user can click on the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program. The invoice number consists of the capitalized first two letters of the customer’s last name, followed by the last four digits of the zip code. The customer name is input with the last name first, followed by a comma, a space, and the first name. However, the name is displayed in the invoice in the proper order. The generation of the invoice number and t
quote
further ques...(4 more words & 4 attachments).
attachments
  (128X96)  
  (412X510)  
  (128X96)  
  (128X96)  
view
excellentTutor
 excellentTutor
library
Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year
                                        Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to a string consisting of the month followed by day of the month. For example, Day 2 would be January 2. Day 32 would be February 1. Day 365 would be December 31.The constructor for the class should take as a parameter an integer representing the day of the year, and the class should have a member function print() that prints the day int he month-day format. The class should have an integer member variable to represent the day, and should have static member variables holding strings that can be used to assist in the translation from the integer format to the month-day format. Read more: Assuming that a year has 365 days, write a class named DayOfYear - JustAnswer http://www.justanswer.com/computer-programming/35ocv-assuming-year-365-days-write-class-named-dayofyear.html#ixzz2DZuO1G1k
quote
me.Thank you...(4 more words & 2 attachments).
attachments
  (128X96)  
  (412X510)  
view

previous | next