Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. send data from listbox to an array variable

send data from listbox to an array variable

Scheduled Pinned Locked Moved Visual Basic
helpdata-structuresquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sixecho
    wrote on last edited by
    #1

    Dim qq As Array qq = ListBox1 ''''' it didn't work can any one help me with this problem?????

    T 1 Reply Last reply
    0
    • S sixecho

      Dim qq As Array qq = ListBox1 ''''' it didn't work can any one help me with this problem?????

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      first of all do you get an error?? (if so please post it) second: you are trying to convert an control of the type listbox to an array (with this code) that will not work you will probaly have run trough you'r listboxitems and add them to the array Dim qq As String() = {0} for each l as listboxitem in listbox1.itmes qq(0) = l.text next or something like this

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups