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. About comboboxes

About comboboxes

Scheduled Pinned Locked Moved Visual Basic
helpquestion
7 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.
  • R Offline
    R Offline
    Rylogy
    wrote on last edited by
    #1

    :((Hi Can someone help me out with the comboboxes? I'm trying to make the items that I add thru my program stay in the combobox and I don't know the right code. Gap

    L 1 Reply Last reply
    0
    • R Rylogy

      :((Hi Can someone help me out with the comboboxes? I'm trying to make the items that I add thru my program stay in the combobox and I don't know the right code. Gap

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      What kind of item that you want add. Usually the item in the combobox just present during the time that you run your application (store in memory). If you want to store an item everytime your program load you need to write it in the formload event. If you want it to be more flexibility, you could store the information of the item that you want to add in the text file or database. So when you load your application you can load that item from text file or database in your combobox as normally.


      A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

      R 1 Reply Last reply
      0
      • L Lost User

        What kind of item that you want add. Usually the item in the combobox just present during the time that you run your application (store in memory). If you want to store an item everytime your program load you need to write it in the formload event. If you want it to be more flexibility, you could store the information of the item that you want to add in the text file or database. So when you load your application you can load that item from text file or database in your combobox as normally.


        A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

        R Offline
        R Offline
        Rylogy
        wrote on last edited by
        #3

        gosh thanks :) i'm trying to add text by the way and how do I program that...?

        L 1 Reply Last reply
        0
        • R Rylogy

          gosh thanks :) i'm trying to add text by the way and how do I program that...?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Try to find the information from here[^]. It contain some sample application that demonstrate to load the database in the combobox. If you still have the problem, let me know.


          A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

          R 1 Reply Last reply
          0
          • L Lost User

            Try to find the information from here[^]. It contain some sample application that demonstrate to load the database in the combobox. If you still have the problem, let me know.


            A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

            R Offline
            R Offline
            Rylogy
            wrote on last edited by
            #5

            ok Thanks so much:suss:

            R 1 Reply Last reply
            0
            • R Rylogy

              ok Thanks so much:suss:

              R Offline
              R Offline
              Rylogy
              wrote on last edited by
              #6

              ahhh :( those are VB 6 and 5 samples i'm on VB .net 2003 but I almost made the program it's just that it adds all the text from a .txt file into one item and what I want it to do is add one item for each line on the .txt file

              R 1 Reply Last reply
              0
              • R Rylogy

                ahhh :( those are VB 6 and 5 samples i'm on VB .net 2003 but I almost made the program it's just that it adds all the text from a .txt file into one item and what I want it to do is add one item for each line on the .txt file

                R Offline
                R Offline
                Rylogy
                wrote on last edited by
                #7

                YEAH I GOT IT!!!!!!!!

                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