Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3455508
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:37:23+00:00 2026-05-18T09:37:23+00:00

I has 4 item on my form……… tow listbox ,one button and one text

  • 0

I has 4 item on my form………
tow listbox ,one button and one text box
I has a listbox ‘A’ with many items…..
i need a item in a listbox ‘B’ from listbox ‘A’
steps are as follow…..that i like to performe………..

1)enter a word or character in a textbox
2)press a button
3)the list appear in listbox ‘B’…….that is character or string start in listbox ‘A’ that is we write in textbox (for matching)

i need a help in which a item that can be in listbox ‘B’ is getting for listbox ‘A’
that is Starting string or character we enter in the text box.
please try to solve me out……….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:37:24+00:00Added an answer on May 18, 2026 at 9:37 am

    Not quite sure I follow. Using the text box’ Changed event would be a good trigger instead of a button. Just iterate the list items and check for a match with String.StartsWith. For example:

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        ListBox2.Items.Clear()
        If TextBox1.Text.Length > 0 Then
            For index As Integer = 0 To ListBox1.Items.Count - 1
                Dim txt = ListBox1.Items(index).ToString()
                If txt.StartsWith(TextBox1.Text, StringComparison.CurrentCultureIgnoreCase) Then
                    ListBox2.Items.Add(txt)
                End If
            Next
        End If
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm programming an order form that has multiple order items. Each line item is
Each of my clients can have many todo items and every todo item has
I have an android listview filled with items. Every item has a button. This
Given an Item that has been appended to a Form , whats the best
I have a table of items. item has id, score 1, score 2. I
There is an XMLList of items, each item has three properties: prop1, prop2, and
I'm trying to use templates to get std:list of items, where each item has
I have a list of items. When I create the list each item has
I'm trying to clear an ajax form after an item has been added to
I have a list of items and each item has a checkbox attached to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.