About 2,380,000 results
Open links in new tab
  1. Storing text box input into an array and displaying it on to a list box

    Dec 10, 2020 · What i need to do is take input 10 times from a text box, store it in an array and then display the array onto a list box. I came up with this for loop but it doesn't work, all it does …

  2. How to Print array into list box? - VB.NET Developer Community

    Jul 22, 2021 · You create one at the class level, then create another array in the first event handler and populate it, then use the original array to populate the ListBox. You didn't put …

  3. Copy Array item to Listbox?-VBForums - Visual Basic

    Nov 2, 2012 · If you're forced to use an array then one option would be to copy all the items from the ListBox to an array and then work through that array from end to beginning. For each …

  4. Lesson 16 : Arrays - Visual Basic Tutorial

    Feb 14, 2025 · In this example, we want to display the elements of an array in a list box. The size of the array will only be known during run time. It demonstrates the creation of a dynamic array …

  5. VB.NET ListBox Control - Online Tutorials Library

    Let's create a list box by dragging a ListBox control from the Toolbox and dropping it on the form. You can populate the list box items either from the properties window or at runtime. To add …

  6. vb.net - how to populate listbox with array items - Stack Overflow

    Mar 25, 2014 · Listbox will accept any object and will display whatever the objects ToString method will display. Therefore you can populate the listbox with the objects directly. See if this …

  7. assigning arrays to a list box - Visual Basic

    Mar 26, 2015 · What would I need to do to get the names from the names array to display in the list box and have them correspond in parallel to the array? You can either assign the first array …

  8. Outputting array to listbox control using loops (visual basic)

    Feb 25, 2014 · Your program must then output those values into a Listbox control. Note: Your program MUST use a loop to load the data into the array(Hint: use InputBox function), and …

  9. Lesson 10 Creating Arrays - Visual Basic Tutorial

    In Visual Basic 2015, we can use the Public or Dim statement to declare an array just as the way we declare a single variable. The Public statement declares an array that can be used …

  10. vb.net - How do I put an arraylist in a Listbox - Stack Overflow

    You will have to make the listbox font a fixed font so you can do the spacing (Courier New). I would suggest using a Generic.List (Of clsCustomer) however if that's not in the assignment …

Refresh