Question
Vb.net Please help create ONE vb.net project that contains TWO forms for this assignment. The form and all controls of this project should be named
Vb.net Please help create ONE vb.net project that contains TWO forms for this assignment. The form and all controls of this project should be named using VB standards. Within the code, using meaningful variable names that meet the VB standards and appropriate data types. Form 1: Working with Loops - The first form will have two button click events: First Button Click Event: Using a Do Loop with a Sentinel value of -1 ask the user to type in a series of names. As they enter the names, display the names in a listbox. Second Button Click Event: Once the names listbox has been populated, the user will select a name from the listbox that will be converted into a code name using the guidelines given below. This event must validate that a name has been selected from the listbox before the process of generating the coded name can be done. (Hint: see page 274.) If a name has been selected, that name should be read into the program and converted to code as follows: The first letter remains unchanged. If the letter is a vowel, it should be removed. Replace all remaining letters with numbers so that: o b, f, p and v become 1 o c, g, j, k, q, s, x, and z become 2 o d and t both become 3 o l becomes 4 o m and n become 5 o h, r, w, and y become 6. Once the coded name has been created, it is to be displayed in the output textbox. Sample of Output: Form 2: Working with Text Files and Arrays - The second form will have two events: Load Event and a button click event. Before you begin working on your code, you need to create a CSV text file. The file name should be Courses.txt. This file should be stored in the Projects bin/Debug folder and should contain at least 6 records. Each record will be made up of the following fields: Course Id Title Credit hours Grade Sample Records could be: CIS115,Beginning Programming,4,A CIS324,Database Design,3,B This program will work with a class level array named courses that needs to be created before the events can work with it. Load Event: At Load time, use the ReadAllLines command to read the records that make up the Courses.txt file into the courses array. Aka Populate the courses array from the text file. Button Click Event: This event should traverse through the class-level courses array, use the Split command to divide each record into individual fields and display these fields in an output listbox in a well-formatted meaningful way.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started