Final answer:
To create a Windows Forms application named 'Moonbucks Project' in Visual Studio 2017, you need to follow a sequence of steps including naming, setting properties, coding the exit button, and testing. You code the Exit button with 'Me.Close()' to close the form. Save the project in the VB2017\Chap02 folder, test all functionalities, and ensure the Exit button works as expected.
Step-by-step explanation:
To create a Windows Forms application in Visual Basic (using Visual Studio 2017), you need to follow several steps. First, open Visual Studio and create a new project by selecting 'Windows Forms App (.NET Framework)' from the new project template dialog. Name the project 'Moonbucks Project' and the solution 'Moonbucks Solution' as per the requirements. Then, save this project in the VB2017\Chap02 directory on your system.
Next, in the properties window, you should set the properties of the form according to the assignment requirements. This might include changing the text property to set the title of the form, setting the startup position, and checking the 'Startup form' in the application's properties to ensure it's pointing to the correct form.
To code the Exit button, double-click the button on your form to generate an event handler for the button's click event. Inside this event handler, you will want to add the code 'Me.Close()' to close the form when the exit button is clicked.
Finally, after coding the Exit button, save the solution, run the application, and test the access keys, tab order, and functionality of the Exit button to ensure they all work correctly. Once you confirm everything is working, close the solution.