.net compact framework combo box selection

Posted on 2006-03-28
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
Question by:gcheg_bca

Expert Comment

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

Expert Comment

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

Expert Comment

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

Author Comment

ID: 16327447
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.

Accepted Solution

GranMod earned 0 total points
ID: 16353550
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Six Sigma Control Plans

850 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