Advertisement
akosiraff

Salary Solution VB 2010

Apr 8th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. Download: http://solutionzip.com/downloads/salary-solution-vb-2010/
  2.  
  3. Open the Salary Solution (Salary Solution.sln) file contained in the ClearlyVB2010\
  4. Chap22\Salary Solution folder. If necessary, open the designer window. Open the Code
  5. Editor window and study the existing code. The btnDisplay control’s Click event procedure stores six salary amounts in a one-dimensional Integer array named intSalaries. Each salary amount corresponds to a salary code from 1 through 6. Code 1’s salary is stored in the intSalaries(0) element in the array, code 2’s salary is stored in the intSalaries(1) element, and so on. After storing the salary amounts in the array, the procedure prompts the user to enter a salary code. It then displays the amount associated with the code. Currently, the Dim statement assigns the six salary amounts to the array. Modify the procedure so that it reads the salary amounts from the salary.txt file and stores each in the array. The salary.txt file is contained in the project’s bin/Debug folder.. Save the solution and then start and test the application. Close the
  6. Code Editor window and then close the solution.
  7.  
  8. Download: http://solutionzip.com/downloads/salary-solution-vb-2010/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement