Question: Research the Visual Basic ReDim statement. What is the purpose of the statement? What is the purpose of the Preserve keyword? a. Open the VB2015Chap09ReDim

Research the Visual Basic ReDim statement. What is the purpose of the statement? What is the purpose of the Preserve keyword?

a. Open the VB2015\Chap09\ReDim Solution\ReDim Solution (ReDim Solution.sln) file. Open the Code Editor window and locate the btnDisplay_Click procedure. Study the existing code, and then modify the procedure so that it stores any number of sales amounts in the intSales array.

b. Save the solution and then start the application. Click the Display Sales button and then enter the following sales amounts, one at a time: 700, 550, and 800. Click the Cancel button in the input box. The three sales amounts should appear in the list box.

c. Click the Display Sales button again and then enter the following sales amounts, one at a time: 5, 9, 45, 67, 8, and 0. Click the Cancel button in the input box. This time, six sales amounts should appear in the list box. Close the Code Editor window and then close the solution.

Step by Step Solution

3.31 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F ReDim Project ReDi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!