Results 1 to 2 of 2

Thread: Need Help With ComboBox

  1. #1
    Join Date
    Feb 2012

    Need Help With ComboBox

    Hello, I'm new to this world.. and i need a little Help.

    Start by saying that i'm using Visual Basic 2010... and I've 2 ComboBox, a primary one and the other which depends on the first, what I want to know is how to change the list of the second ComboBox according to the Items selected from the list of the first ComboBox...

    Any help would be great!!

  2. #2
    Join Date
    Dec 2010

    Re: Need Help With ComboBox

    I have a solution for you don’t know if it is right or wrong but give it a try. First of all I don’t know how have you related the 2 combo boxes but I would say try relating the two combo boxes with the help of ListControl.SelectedValueChanged Event Subscribe this event with your first combo box. Once you have raised this event you can use the following syntax to your second combo box
    ‘combo2.Items.Clear ()’
    then try adding the items and relate them with the first one accordingly. I know this is not a exact answer for your question since this is a completely different method but that's all i know about VB 2010 and i have shared it with you.

Similar Threads

  1. Use of combobox in script
    By Martien in forum Software Development
    Replies: 3
    Last Post: 15-01-2010, 10:58 AM
  2. Combobox and Text value
    By HarshaB in forum Software Development
    Replies: 5
    Last Post: 09-11-2009, 06:16 PM
  3. How to lock combobox
    By JamesB in forum Software Development
    Replies: 3
    Last Post: 19-03-2009, 07:20 PM
  4. Add ComboBox in DataGrid in VB 6.0
    By Jateen in forum Software Development
    Replies: 3
    Last Post: 15-01-2009, 05:31 PM
  5. How to add file content to combobox
    By MikeY007 in forum Software Development
    Replies: 3
    Last Post: 11-10-2008, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts