473,382 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Items in ComboBox are not Visible

I am adding items to a combo box, but they are not visible when the drop down
list is displayed. Ther items arethere because I canclick on the drop down
list and the items show up in the text box.

I can add the items in a variety of ways, but all methods give the same
result. Here is the simplest code I have tried, with ComboBox1 being the
only control on the form. All form and control properties are the defaults.

ComboBox1.Items.Add("Item 1")
ComboBox1.Items.Add("Item 2")

I saw something about a problem with McAffee Anit-virus 8.0, but I have a
sample project from another piece of software that loads the combo boxes
correctly. I can't find any difference between the sample code and what I am
doing. When I copy the controls from the ample project to a new Windows
form, they show the wrong behavior.
--
Thanks,

Bill Manring

(I re-posted this because these was a typo in the subject of the earlier post)

Jul 21 '05 #1
1 2346
I found the answer to this problem. It was related to the McAfee 8.0i
antivirus software. I downloaded a patch from McAfee's web site and it fixed
the problem.

http://sdownload.nai.com/products/pr...x/VSE80P05.Zip
"Bill Manring" wrote:
I am adding items to a combo box, but they are not visible when the drop down
list is displayed. Ther items arethere because I canclick on the drop down
list and the items show up in the text box.

I can add the items in a variety of ways, but all methods give the same
result. Here is the simplest code I have tried, with ComboBox1 being the
only control on the form. All form and control properties are the defaults.

ComboBox1.Items.Add("Item 1")
ComboBox1.Items.Add("Item 2")

I saw something about a problem with McAffee Anit-virus 8.0, but I have a
sample project from another piece of software that loads the combo boxes
correctly. I can't find any difference between the sample code and what I am
doing. When I copy the controls from the ample project to a new Windows
form, they show the wrong behavior.
--
Thanks,

Bill Manring

(I re-posted this because these was a typo in the subject of the earlier post)

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Wayne Wengert | last post by:
I am trying to populate a combobox with a lisy of items. I want the 1st item to be "Make a Selection" and the following items will be names from a table in my DB (See code below). When I run the...
2
by: Tim Graichen | last post by:
I may have already asked this one, but, Is there anyway of hiding the dropdown control button on a combobox until the field has focus? Because the values in the combobox can be between 5...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
0
by: tupolev | last post by:
Hi, I already post this item but now I know whats wrong: I want to allow the user to edit the items in a combobox. The problem is that the textchange event works just one time (for the first...
1
by: Bill Manring | last post by:
I am adding items to a combo box, but they are not visible when the drop down list is displayed. Ther items arethere because I canclick on the drop down list and the items show up in the text box....
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
3
by: Simon Tamman | last post by:
I've come across an interesting bug. I have workarounds but i'd like to know the root of the problem. I've stripped it down into a short file and hope someone might have an idea about what's going...
5
by: Kevinp | last post by:
I've spent the last four hours Google searching for a way to disable items in a Combobox. I found one example in C++ which I can't get to work and another in C# that I couldn't get to work either....
0
by: dvanmil | last post by:
I am in the process of creating my own custom Open File Dialog and was wondering about one thing that should be the final key to my puzzle. Hopefully someone might have some more insights into this...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.