Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

?
Lv 6

And another question about visual basic 2010?

So, I am nearly finished with my project now but I still have two problems. My first problem is that I can't find out how to make my combobox show a default item when the form starts. I typed in the collection of items, but it doesn't show the first item on startup.

My second problem is that I can't find out how I can make a result that i got in the first window transfer to the second window (I am making an app with two windows, in one it calculates the price of one pizza and in the second it is supposed to calculate a price if the user wants to buy more than one pizza. I know, I could have done both in one window but it is a school project and I must have two windows, excluding possible messageboxes.)

Any help will be greatly appreciated.

1 Answer

Relevance
  • AJ
    Lv 7
    9 years ago
    Favorite Answer

    combobox.selectedindex =0 that will put the first entry and populate.

    Sorry can't help you with second problem because it doesn't make sense.

Still have questions? Get your answers by asking now.