Visual basic!! Comboboxes HELP! Please :o x?

I want to make a programme with a combo box so that when you click an item in the box, it brings up something in a list box.

Basically, there are different recipes with lists of ingredients, how would I make the recipe name in the combobox display the ingredients in the list box when clicked??

Any help or code will do, I really don’t mind, I’m so confused… is this even possible in vb?

Thanks 🙂 xx

✅ Answers

? Favorite Answer

  • Hello Jasmine!

    Nice Question You Asked.

    Basically the combo box can be created in vb.It Contains three types .Namely,Drop Down Combo ,Normal Box(text box) and Normal Combo Box.Here each has different meaning.But as per your request i would like to concerntrate in creating a combo box whic displays items as list.

    The Basic syntax is ;

    combobox.additem.(“item name”)

    or you can use by manual method.

    Create a combo box in a form and select a property

    drop down combo box ,then click this and start enter the coding like :

    combo.additem.(item name)

    Similarlly for adding multiple items..

  • The one approach to shop what you entered into the combobox is to have a text file that stores the entries and then you load the textfile and add it the combobox and while you enter a brand new entry it writes it to the textual content file.

  • Other Related Questions

    Learning Visual Basic ?

    Answers Favorite AnswerTry using "System.Diagnostics.Process. GetProcessesByName( "iwmp" ).Length > " for your check.

    Microsoft Office word Fast answer needed its urgent?

    Answers Favorite AnswerTry this: is another thread re: the same issue with instructions:

    See also  What is the best ide/compositor for C++ in windows?
    Can I download a whole city android google maps?

    Answers Favorite Answer:) Yes!!!Interesting question. I wonder why it has blocked in this way especially considering that Google Earth is very detailed and has good maps of Israel.

    What is meant by ROM ? Explain in simple but elaborate terms.What about mobile ROM’s?

    Answers Favorite AnswerHi Diva below is a link that will give a simple answer. this helps.Source(s): Experience and wiki answers.ROM is Read only memory. i.e data can write only once.There two types of ROM..ROM.PROMThe difference between ROM and PROM.that is ROM is programmed during manufacturing it means data stored by manufacturing company.PROM is blank memory that a user programmable memory.user can store content on PROM.both ROM and PROM are Read only memory Data can write only once.and its not possible to write so many time.Memories of PROM and ROM are Non-volatile in nature. Its that stored informations can retain even power goes off.

    Leave a Comment