0 pts.
 VB .Net ComboBox Problem
I have been using Vb for years and I am just starting to learn .Net, which is considerably different from previous version. In a test program I wrote I am filling a combobox as follows: Dim i as Integer For i = 1 to 5 ComboBox1.Items.Add("Selection: " & i) Next When I run this program the Combobox is populated with what I told it to, but when the combo dropsdown none of the text is visible on the list. I can select a blank item and it will put in the correct thing, so i know it filled the list, but it is a bit hard for the end user to know what to select if they can't see the items on the list. I am using the following: Windows XP SP2 with all the latest updates. XP Firwall is disabled. McAffee AntiVirus 8.0i Sygate Personal Firewall Ver. 5.5 Build 2710 Windows Development Eviroment 2003 Ver. 7.1.3088 Microsoft .NET Framework 1.1 Ver.1.1.4322 SP1 Microsoft Visual Basic .Net Standard 2003

Software/Hardware used:
ASKED: March 7, 2005  9:42 AM
UPDATED: March 7, 2005  10:36 AM

Answer Wiki:
The code you provided is very simple and straight forward, it works just fine in the Form_Load event of a windows application. Check the properties of the control and where are you populating it (i.e. in which event), if you are still having problems could you provide more details? Such as if you are working on a windows or web app, in which event are you trying to populate the control, etc. : ) Good luck!
Last Wiki Answer Submitted:  March 7, 2005  10:36 am  by  Nohemi   0 pts.
All Answer Wiki Contributors:  Nohemi   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _