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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Copy Data From One listbox to another on button click event

Copy Data From One listbox to another on button click event

Scheduled Pinned Locked Moved Visual Basic
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
    sonia sardana
    wrote on last edited by
    #1

    Hey frnds. Suppose Combo1 contains data ,I want that when we click on buton & alll the items are copied to Combo2. Plz reply. Thx in advance.

    S 1 Reply Last reply
    0
    • S sonia sardana

      Hey frnds. Suppose Combo1 contains data ,I want that when we click on buton & alll the items are copied to Combo2. Plz reply. Thx in advance.

      S Offline
      S Offline
      Smithers Jones
      wrote on last edited by
      #2

      Iterate through Combobox1's items using for each ... next and add every item to Combobox2 using Combobox2.items.add(yourItem). Now, how difficult was that? Are the keys "i" "e" and "a" broken on your keyboard?

      "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

      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