Display the contents of the array in the colleges listbox

Assignment Help Basic Computer Science
Reference no: EM131038389

Deliverables:

1. Write a Visual Basic program that displays the information below and performs the functionality described above.

2. Using the IO.File.ReadAllLines method, read the contents of the colleges.txt file into an array.

3. When the form loads, display the contents of the array in the Colleges listbox.

4. When the user enters something in the Search Colleges textbox and presses the "Go" button, the program should search the array upon which the colleges listbox is displayed. Use a LINQ query to do this. Note that the user may type in a full college name as illustrated in Figure 1 below, or he may enter only part of the name (even one letter), and the listbox should be populated with all colleges that start with the same letter(s) as those entered by the user. Figure 2 below illustrates the search for all colleges that begin with the letter "lib".

a. Be sure to make your search NON-case sensitive. That is, if the user enters "LiBERty UnIVERsiTy" in the textbox, it should still retrieve the college "Liberty University". [Hint: If you convert the value that the user enters into uppercase and search for values that are converted to uppercase, this allows for a match to be found.]

b. Using LINQ queries, write the code such that when the user clicks the Sort Ascending button, the colleges displayed in the Colleges listbox is sorted from A-Z. Conversely, when the user clicks the Sort Descending button, the listbox should be sorted from Z-A. Although this feature can be accomplished using the properties of the listbox, your code should be written using LINQ queries to perform these functions.
[Hint: Before you set the datasource property of your listbox to the results of your LINQ query, you must first remove the datasource linkage to the original array by setting .datasource = nothing.]

5. Using a certain property of listboxes, determine the number of search results displayed in the Results listbox and display that number in the textbox shown below the listbox. Note: Do NOT use a LINQ query for this task.

6. Use appropriate software development guidelines, such as clearing the results listbox before populating it with new data when the Go button is clicked and including a title on the form.

7. Your assignment should include internal communication and proper naming conventions.

Reference no: EM131038389

Questions Cloud

Different password combinations : Medusa will try different password combinations until it successfully logs in, and then it will give the success message.You may want to watch the Medusa Password Cracking video under supplemental resources to help understand what isrequired.
Why you believe the action is required for the citations : Why you believe the action is required for the citations and penalties, how you believe the actions will assist in responding to the citations and penalties.
Explain the difference between a one- and a two-tail test : When our test statistic does NOT fall into the critical region, why do we say that we "Fail to reject the Ho" rather than just saying we accept the Ho? Explain the difference between a one- and a two-tail test. When is each used
Battery-powered beverage mixers : An assembly line has been designed to make battery-powered beverage mixers. Task details are shown in the table below:
Display the contents of the array in the colleges listbox : Using the IO.File.ReadAllLines method, read the contents of the colleges.txt file into an array
How the us food system influences mental health of children : Write an initial post that explains how the "US food system" influences the mental and physical health of children, making sure to discuss specific factors presented in the film the location of those factors in the bioecological model.
Determining the standard time : If in a time study, the observed time is 0.75 min, rating factor = 110% and allowances are 20% of normal time, then what is the standard time?
Write the corresponding loglinear model : Write the corresponding loglinear model. b. Which, if any, pairs of variables are conditionally independent? If Y is a binary response, what is the corresponding logistic model?
Analysis case-making cookies : You and your roommate are preparing to launch a small business in your on-campus apartment. You plan to provide fresh cookies to hungry students at night. Your cookie is different from store bought cookies because they are freshly baked and your c..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Scope and lifetime are distinct

Scope and lifetime are distinct yet related issues in programming languages. Languages can sometimes make design decisions that cause a conflict between the scope and the lifetime of variables. Java's decision to allow classes to be defined inside..

  Entrepreneurs is starting a new data storage

An enterprising group of entrepreneurs is starting a new data storage and retrieval business, SecureStore, Inc. For a fee, the new company will accept digitalized data (text and images, multimedia), and store it on hard drives until needed by t..

  Information for building project

This exercise begins with information for a building project. Working in Microsoft Project, you will create the task list, including summary tasks and their sub-tasks, create links between tasks and their predecessors, add resources, and make chan..

  Data for making intelligent business decisions

Businesses today are extremely reliant on large amounts of data for making intelligent business decisions. Likewise, the data warehouses are often structured in a manner that optimizes processing large amounts of data.

  Determine ? when the crates begin to slide

The coefficients of static friction between the crates and the µA = 0.25 and µB = 0.35

  Mean completion time if your sample is small or large

The data contain one high outlier. Will this outlier have a greater effect on a confidence interval for mean completion time if your sample is small or if it is large? Why?

  Weighted probabilities for x86 processors

Create a procedure that receives a value N between 0 to 100. When the procedure is called, there should be a probability of N/100 that it clears the Zero flag. Write a program that asks the user to enter a probability value 0 to 100.

  A development lifecycle for an ids system

Write a 1-2 page paper on a development lifecycle for an IDS system, including the following: Inception Configuration Deployment

  The capital labor ratio

Suppose we are at steady state in the Solow Model. Suddenly we have a significant technological advance.

  Designing a social networking website

Your employer has tasked you with designing a social networking website. You are free to design either a blog, a micro-blog, or a wiki.

  Method for constructing the header of size

Part of the encoded ?le must be a header indicating the Huffman code. Give a method for constructing the header of size at most O(N) (in addition to the symbols), where N is the number of symbols. Complete the proof that Huffman's algorithm generates..

  What windows server 2012 edition is best?

What Windows Server 2012 edition is best?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd