We help IT Professionals succeed at work.

.net compact framework combo box selection

gcheg_bca asked
Medium Priority
Last Modified: 2008-03-06
Hello All,

I am writing an app for Pocket PC 2003 using vb.net. What I am trying to do is fill a combo box from a data table and then when the user selects the option from the combo box (by scrolling) and presses the enter key (either on the screen or on the PDA) call a function. I can do this no problem with a text box but not a combo box...please help as this is rather urgent.

Thank you in advance
Watch Question

You probably just need to get the right event for the combobox.  Are you trying the click event or the selectedindexchange event?

Where are you actually having the problem. Filling the combo box, or just trapping that the user has hit the enter key?

BTW... Pocket PCs don't have Enter keys do they???


After doing lots of searching I have found the answer myself. I had tried all of the events for a combo box but none of them were triggered on a key press. What I have found is that the .Net Compact Framework 1.0 sp3 is required to trap a key press. Other versions of the compact framework v1.0 do not work for PPC2003.
BaXt0R to answer your question some PDA's do have keyboards as an attachment or a slide out and they all have the capability of a soft keyboard displayed on the screen.
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.