Windows Develop Bookmark and Share   
 index > Windows Forms General > Combobox won't fill!
 

Combobox won't fill!

hi,

this seems like it should be simple and I'm probably just missig something basic but ...

None of the comboboxes in my VB 2005 windows application will fill. The code works in other applications. Even a brand new combobox that is added and given a list a items in the Design view doesn't appear filled. The box shows up but when click, instead of a drop down list of items, it appears to drop but to have nothing in it. This program was upgraded (through the wizard) from VB6 so maybe something didn't get upgraded correctly? Any ideas are appreciated.

The code is really straight forward, something like:

for j=1 to 5

combobox1.items.add(j)

next

Thanks

JessieErin  Thursday, July 19, 2007 8:24 PM
Yes, that ought to be something basic. Too basic for us to guess what might be wrong with just the code snippet you posted. Pare it down to something small you can post for us to try.
nobugz  Thursday, July 19, 2007 9:49 PM

You can use google to search for other answers

Custom Search

More Threads

• Extract selected content from a web browser control?
• AxvsFlexGrid blank space.
• GUI customization
• Automatically resize columns of controls
• Working with grid & SnapTo
• modify highlighing behavior of textbox
• Open dialog to open directory
• WebBrowser don't stop communication
• How to temporary disable and enable ProcessCmdKey?
• display HTML in a form and open URL in web browser