Solved

easy combobox problem

Posted on 2006-11-08
3
228 Views
Last Modified: 2010-04-16
I have a combobox which I add a bunch of items to.
ComboBox.Items.AddRange(object [])

Later in the program after I add the Items I want to go back and get the first one in the list (which is stored alphabetically), I think I'm losing my mind because I can't find a simple command to do this.
0
Comment
Question by:ICPooreman
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 500 total points
ID: 17900904
ComboBox.Items[0] will get you the first one...am I missing something here ?
0
 

Author Comment

by:ICPooreman
ID: 17900930
no you're not missing anything this is just a sign that I need a nap thanks
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17900963
Hooray ! I am not missing anything....I am COMPLETE !

Thanx for the poinx :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now