Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Please write the expenses to a sequential access file, where the expense data for each individual are contained on a single line, separated by comma. For example, for an employee named JSMITH, ID 1, and using information from the example in the text, the line in the file would look like this:

1 JSMITH,SIGCSE 2013,March 6-9, Denver, CO, 190.1,250.15,675,45

Note that the city and state are separated by a comma, so you may want 2 text boxes for city and state on your form. You will need an ID text box as well as a name text box on the form to identify each line (ID text box) and to provide an employee name (name text box). If you choose to enter the ID yourself you can do so, just ensure the ID is unique.

Provide an additional list box that will be populated with the name (field(1)) in the file.

When an item is selected from the list box, populate the fields of the expense report on the form.

Create a separate form that will be used to enter new expense information. Provide 2 buttons on this secondary form:

Save data and close

Cancel and close

Close the form upon either button action, making sure to save the new data to the data file.

There is no need to avoid duplicates nor is there the need to delete lines from the file in this exercise.

There is no need to print the report as described in the original problem.

Use LINQ query in this problem

Include a File Open Dialog Box and a File Save Dialog Box appropriately deployed to allow the user to place the file in a location other than the Bin/Debug Directory.

Hints:

Use an Employee array to hold each line of data.

Add a module to the project to hold a reference to the sequential access file reader and writer

You may place the file in the Bin/Debug directory if you wish.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92025074
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Search treestry to adopt all four traversal algorithm

Search trees. Try to adopt all four traversal algorithm procedures for any binary tree. Write methods to count the number of nodes in a binary tree to count the number of leaves to count the number of right children to f ...

Question group work this weekbull introduce yourself to

Question: Group work this week: • Introduce yourself to your group • Start planning out the project with your group • The group should compile the following information into a draft document 1. What specific and detailed ...

It is required to design an iterative combinational circuit

It is required to design an iterative combinational circuit that computes the equation Z=2*X-Y, where X and Y are n-bit unsigned numbers. (i) Determine the number of inputs and outputs needed for your 1-bit cell. (ii) De ...

What are the minimum and maximum values in decimal if an

What are the minimum and maximum values (in decimal) if an 8-bit binary number is given unsigned and two's complement formats?

Research pythons dictionary data type dict discuss its

Research Python's dictionary data type (dict). Discuss its interface and usage. Include examples. Discuss practical applications of dictionaries. And also Discuss the concepts and purpose of hashing. Include examples of ...

Assignment write an 8-page apa formatted paper on a

Assignment: Write an 8-page APA formatted paper on a business problem that requires data mining, why the problem is interesting, the general approach you plan to take, what kind of data you plan to use, and finally how y ...

Give a recursive algorithm that generates a similar series

Give a recursive algorithm that generates a similar series of coins for changing n cents. Don't use dynamic programming for this problem.

Suppose you take out a loan for 5000 at 6 ordinary interest

Suppose you take out a loan for $5,000, at 6% ordinary interest. If the amount of interest is $91.67, what is the time period? (Round to next higher day)

Question overview of information security and risk

Question: Overview of Information Security and Risk Management (Due Oct 24) Does your company (or school) have a current disaster recovery plan? What are some of the activities involved in it? Do you feel confident that ...

The freemont automobile factory has discovered that the

The Freemont Automobile Factory has discovered that the longer a worker has been on the job, the more parts the worker can produce. I need help finding an application that computes and displays a worker's anticipated out ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As