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. How to disable ComboxBox in VB.net

How to disable ComboxBox in VB.net

Scheduled Pinned Locked Moved Visual Basic
csharptutorialquestion
7 Posts 5 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.
  • V Offline
    V Offline
    vijay2482
    wrote on last edited by
    #1

    i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??

    S N C 3 Replies Last reply
    0
    • V vijay2482

      i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??

      S Offline
      S Offline
      Sipder
      wrote on last edited by
      #2

      just write "ComboName.enable=false" For such small things please check properties of the Control you want to use. Name only describes its purpose.

      V 1 Reply Last reply
      0
      • V vijay2482

        i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??

        N Offline
        N Offline
        Nanda_MR
        wrote on last edited by
        #3

        Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
        ComboBox1.Enabled = False
        ComboBox2.Enabled = False
        ComboBox3.Enabled = False
        ComboBox4.Enabled = False
        ComboBox5.Enabled = False
        End Sub

        V 1 Reply Last reply
        0
        • V vijay2482

          i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Are you telling us that you own no books on VB.NET and google is broken where you live ?

          Christian Graus Driven to the arms of OSX by Vista.

          L 1 Reply Last reply
          0
          • S Sipder

            just write "ComboName.enable=false" For such small things please check properties of the Control you want to use. Name only describes its purpose.

            V Offline
            V Offline
            vijay2482
            wrote on last edited by
            #5

            thanks a lot im a beginer im new to vb.net just started exploring thanks once again

            1 Reply Last reply
            0
            • N Nanda_MR

              Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
              ComboBox1.Enabled = False
              ComboBox2.Enabled = False
              ComboBox3.Enabled = False
              ComboBox4.Enabled = False
              ComboBox5.Enabled = False
              End Sub

              V Offline
              V Offline
              vijay2482
              wrote on last edited by
              #6

              thanks

              1 Reply Last reply
              0
              • C Christian Graus

                Are you telling us that you own no books on VB.NET and google is broken where you live ?

                Christian Graus Driven to the arms of OSX by Vista.

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

                Didn't you check out CNN? All books on vb.net have been kidnapped and google shutdown at this precise moment. Obviously, this was the only solution left.

                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