Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links

Need Help With ComboBox

Software Development

Thread Tools Search this Thread
Old 25-02-2012
Join Date: Feb 2012
Posts: 1
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!!

Reply With Quote
Old 29-04-2012
Join Date: Dec 2010
Posts: 106
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.
Reply With Quote

  TechArena Community > Software > Software Development
Tags: , ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "Need Help With ComboBox"
Thread Thread Starter Forum Replies Last Post
Use of combobox in script Martien Software Development 3 15-01-2010 10:58 AM
Combobox and Text value HarshaB Software Development 5 09-11-2009 06:16 PM
How to lock combobox JamesB Software Development 3 19-03-2009 07:20 PM
Add ComboBox in DataGrid in VB 6.0 Jateen Software Development 3 15-01-2009 05:31 PM
How to add file content to combobox MikeY007 Software Development 3 11-10-2008 03:58 PM

All times are GMT +5.5. The time now is 09:43 PM.