Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / March 2008

Tip: Looking for answers? Try searching our database.

Force Keypad to Numeric Mode on Smart Device

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xsf - 23 Mar 2008 08:05 GMT
I'm developing a vb.net app for a HTC S640 pda running wm6. I am
trying to make a textbox accept ONLY numeric values. I would like to
set the keypad into numeric mode if possible. As it is now the user
has to Hit 'FN" + the number.

Any suggestions?
Thanks
Christian Resma Helle - 23 Mar 2008 09:04 GMT
Look into the Microsot.WindowsCE.Forms namespace. Theres something in there called SetInputMode()

--
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
   

----- ORIGINAL MESSAGE -----
I'm developing a vb.net app for a HTC S640 pda running wm6. I am
trying to make a textbox accept ONLY numeric values. I would like to
set the keypad into numeric mode if possible. As it is now the user
has to Hit 'FN" + the number.

Any suggestions?
Thanks
Simon Hart [MVP] - 25 Mar 2008 17:02 GMT
You could force the keybd_event to force the sip, (never done this) if you
are looking how to code a custom text box control, then search the archives
as this has been asked 100's of times here.
Signature

Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com

> I'm developing a vb.net app for a HTC S640 pda running wm6. I am
> trying to make a textbox accept ONLY numeric values. I would like to
[quoted text clipped - 3 lines]
> Any suggestions?
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.