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

  A small airline has just purchased a computer for its new

a small airline has just purchased a computer for its new automated reservations system. youve been asked to develop

  Write a menu-driven program to manage a membership list

Write a menu-driven program to manage a membership list. Assume that the names and phone numbers of all members are stored in alphabetical order (by last name and then by first name) in the text file MemberPhones.txt. Each record consists of two fi..

  Create a visual basic application

Create a visual Basic application that asks the user for two different numbers through text boxes - Then compare the numbers to see which one is higher once they push a button.

  Arrays write a program using dynamic arrays to record the

write a program using dynamic arrays to record the high temperatures of last ltbrgtseven days and to display all of

  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.

  Shipping charge for the following zip codes

Need application code for visual basic should display the appropriate shipping charge. shipping charge for the following ZIP codes is $32: 60618, 60620, and 60632. All other ZIP codes are charged $37.75. Code the application in visual basic

  Add the functionality to its cash register

The Chocolate Delights Candy Company needs to add the following functionality to its cash register: When a customer is checking out, the cash register needs to store the required data pertaining to each item the customer is buying

  Visual basic programming discussiondecision logic please

visual basic programming discussiondecision logic please respond to the followingthe use of decision logic is one of

  If the sum or product of two positive integers

In C++, the largest int value is 2147483647. So, an integer larger than this cannot be stored and processed as an integer. Similarly, if the sum or product of two positive integers is greater than 2147483647, the result will be incorrect.

  Assignment data storagenbspcomputer processes need to be

assignment data storagenbspcomputer processes need to be able to store data during the execution phase. the data may

  Write a program to create an invoice form for an order.

Write a program to create an invoice form for an order. After the data on the left side of Fig. 5.27 is 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 ..

  Create a loan program

Create a program with the following forms - Financial Program is forml Investment form is form2

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