Create a program to calculate deductible travel expenses

Assignment Help Visual Basic Programming
Reference no: EM13780228

For assignment you will create a program to calculate deductible travel expenses for tax purpose.

Part 1-

The program should request as input the following information:

- the name of the organization visited
- the date the user arrived at the organization
- the date the user left the organization
- the location of the visit
- the expenses for meals and entertainment
- airplane fare
- lodging expenses
- taxi fares

All the inputs except the arrival date and the departure date should be entered into the program via text boxes. The arrival date and the departure date are entered via masked text boxes (proper masks need to be set to ensure only dates can be entered). The form should look similar to the following (set the Tab Order as indicated below)

2113_Tab Order.png

When "submit" button is clicked, all the information should be formatted and displayed in a list box as shown in the screen shot below. (Note: number of days should count both the arrival date and the departure date)

When "Clear" button is clicked, all the information in the text boxes and the list boxes will be cleared; send the focus to the text box next to "Organization visited".

Only 50% of the expenses for meals and entertainment are deductible. Therefore, your program will
also calculate and display

- the total except meals and entertainment
- 50% of meals and entertainment
- total deductible expenses
See a sample set of inputs and the output below.

165_Tab Order 1.png

Pay attention to the following when you are working on this assignment:
- Properly naming each control, placing them in an aesthetic manner, anchoring the controls appropriately, setting the tab order property for all controls properly, and providing appropriate labels.
- Declaring variables of appropriate data types, using meaningful variable names.
- Properly formatting the output as shown in the figure above (such as number of decimal places, currency format, blank lines)
- Adequately documenting your code with comments.
- Testing your code (points will be deducted if your code does not compile)

This is an INDIVIDUAL assignment. Code plagiarism is strictly prohibited.

What to turn in

A zip file containing your entire project folder needs to be uploaded to the dropbox Assignment1 on elearn. After you upload the zip file to the dropbox, please make sure you are able to download that file, unzip it, and open the project in Visual Studio.

If you have questions about how to do this, address them well before the due date.

Part 2-

A person may submit information about multiple business trips. All trips' information should be displayed in the list box. Your program will keep track of the number of trips entered so far and the grand total of deductible expenses for all the trips that have been entered so far. When "Show Summary" button is clicked, the number of trips and the grand total of deductible expenses will be displayed in the second list box.
For example, if the user has entered two trips and the total deductible amounts for these two trips are $1284.10 and $892.73, then the output should be as displayed below.

1026_Tab Order 2.png


In addition, if 5 minutes have passed since the user clicked on any of the buttons, a message dialog box will pop up and show a message informing the user his/her session has expired (see figure below). Once the user clicks on "OK" on the message dialog box, the application will end.

1052_Tab Order 3.png

Reference no: EM13780228

Questions Cloud

Benefits of majoring in psychology : Describe at least three benefits of majoring in psychology. Compare and contrast similarities and differences between two areas of specialization in psychology, and provide an example of a career in each specialization.
Should the dare program be discontinued why or why not : Should the DARE Program be discontinued? Why or why not? Are there any other unintended consequences of the DARE Program that should be considered when the program is assessed? If so, what are they and why are they important to consider
Strategies for addressing quality management issues : Continue building your proposal for BJB's Strategic Planning Committee by adding 1,050-to 1,750-words outlining the strategies for addressing quality management issues and determining an effective means of deploying the quality management initiati..
Effects and properties of each major substance of abuse : Develop a presentation that addresses the effects and properties of each major substance of abuse and the effects on human beings
Create a program to calculate deductible travel expenses : create a program to calculate deductible travel expenses for tax purpose. All the inputs except the arrival date and the departure date should be entered into the program via text boxes. The arrival date and the departure date are entered via maske..
Importance of critical thinking : Explain the importance of critical thinking and the implications of not questioning information, both in general and as they relate to the Capstone Project.
About satellite communication : Justify the circumstances in a business situation in which you would use GEOS, LEOS, and MEOS.
Participant-observation methodology : 1. Explain a research project which can only be done using participant-observation methodology. Why is it the best methodology?
Discuss the strengths and weaknesses of the research : Compare and contrast the articles. Discuss the strengths and weaknesses of the research findings. Analyze the implications of the research for potential public policy opportunities

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Mr kindly do this estimate with your designing excel visual

kindly do this estimate with your designing excel visual basic software that shows diagram of holes and angle of

  Create visual basics application-functionality of gas pump

Create an visual basics application that simulates the functionality of the gas pump. The user enters the number of gallons to purchase and clicks the desired grade.

  An analysis of a group of weight measurements

An analysis of a group of weight measurements involves converting a weight value into an integer category number that is determined as follows

  How to program in visual basic four square buttons

How to program in visual basic four square buttons arranged in a rectangular array each button says push me... when user clicks on a button the button disappears the other three come or remain visible

  Write paper on creating and accessing arrays

Write a 2 page research paper (excluding the title page) on creating and accessing arrays. Explain the concepts discussed in the textbook using at least one example not included in the textbook

  Calculate the amount of a waiters tip

Write a program to carry out each task. The program should use variables for each of the quantities and display the outcome in a text box with a label.

  Create a visual basic prototype that has screens for windows

Develop calendar screens for Windows and the Web in which you and create a Visual Basic prototype that has screens for Windows and Web.

  Write visual logic program to accept number til negative

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

  Write a visual basic program to create an invoice

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.

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Arithmetic calculator applicationwrite an application that

arithmetic calculator applicationwrite an application that allows the user to enter a series of numbers and manipulate

  Main objectives of the assessmentnbspthe aim of the

main objectives of the assessmentnbspthe aim of the assessment is to develop a visual basic console application that

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