Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual Basic- The file Nations.txt contains the names of the 193 member nations of the United Nations. Write a program that initially displays all the

Visual Basic- The file Nations.txt contains the names of the 193 member nations of the United Nations. Write a program that initially displays all the nations in a list box. Each time a letter is typed into a textbox, the program should reduce the displayed nations to those beginning with the letters in the textbox. The picture below shows the status after the letters "Ma" are typed into the textbox. At any time, the user should be able to click on the name of a nation to have it appear in the textbox. USE A LINQ QUERY. Also compare the text ToUpper.

image text in transcribed

The code I have so far is:

Public Class frmUnitedNations Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load lstOutput.Items.AddRange(IO.File.ReadAllLines("Nations.txt")) End Sub

Private Sub txtCountry_TextChanged(sender As Object, e As EventArgs) Handles txtCountry.TextChanged

End Sub End Class

United Nations -la x Ma Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Mauritania Mauritius

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

7. What traps should she avoid?

Answered: 1 week ago

Question

5. What decision-making model would you advocate to this person?

Answered: 1 week ago

Question

6. What data will she need?

Answered: 1 week ago