Answered step by step
Verified Expert Solution
Question
1 Approved Answer
deo ve Week 3 Lab Assignment Due Date: Friday, February 5 by 11:59 pm Create a Visual Basic Project to code the solution for
deo ve Week 3 Lab Assignment Due Date: Friday, February 5 by 11:59 pm Create a Visual Basic Project to code the solution for the problem described below. Once completed, zip the entire VB Project and submit the zip file for this assignment. old be named using Vistatants In this lab, you are to create ONE project that contains one form for this assignment. The form and all controls should be c Within the code, using meaningful variable names that meet the VB standards and appropriate data types. Comments are always encouraged. Form 1: Working with single field array and LINQ KIT This form will have five events: Load Event and four button click events (four queries). Before you begin working on your code, you need to create a text file and name it Items.txt. This text file should contain a list of string items of your choosing (although you need to keep it G-Rated). In the lecture sample code, I used flower names but you should create your own data list for this assignment. Each Sine should contain one word or phrase value (we're not working with csv records for this assignment) Programming Note: The output listbox should be cleared prior to having new information displayed to it. Le-Within each button click event, before you begin adding information to the listbox, clear out any lines that may be there from previous events. This program will work with a class level array named items 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 Items.txt file into the items array Aka-Populate the items array from the text file. Once the items array has been populate, each item in the array should be displayed in the output listbox. This is to be done at Load time too First Button Click Event: This event must use a LINQ to search the items array for a value that the user provides. Have the user enter an item to search for via an InputBox. Use a LINQ to determine if that item is in the items array. The search shouldn't require a case match to be consider a match so use Topper or Tolowed CLEAR the box. If the item is found, a meaningful message should be displayed in the listbox to let the user know. If the item is not found, a different meaningful message should be displayed in the listbox. A 90 Box Calend LLI E
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