We help IT Professionals succeed at work.

Detect Soft Keyboard Press in Pocket PC  in  VB.NET -Question in Spanish need traslation please-

memm
memm asked
on
Medium Priority
443 Views
Last Modified: 2013-11-17
Hola,

Como detecto que tecla ha sido pulsada en el teclado virtual del pocket PC,

Los eventos Form_KeyPress o KeyUP o KeyDown no son detectados al presionar las teclas en el teclado virtual,

o como detecto los eventos de escritura en el formulario viene sea que este escribiendo en un Formurio o en un Textbox,


si necesitan que me explique un poco mas no duden en avisarme,

pueden responder en ingles,

Saludos y gracias
Miguel Machado
Comment
Watch Question

CERTIFIED EXPERT

Commented:
the soft keyboard is there to write in an object for example a textbox,combobox e.g so youll have to use the events in the objects to capture the keypresses
CERTIFIED EXPERT

Commented:
Also the question in english is:


Hello,

As I detect that key has been pressed in the virtual keyboard of pocket PC,

The events Form_KeyPress or KeyUP or KeyDown are not detected when pressing the keys in the virtual keyboard,

or as I detect the events of writing in the form come is that this writing in a Formurio or a Textbox,


if they need that it explains a little to me but they do not doubt in warning to me,

they can respond in ingles,

Greetings and thanks
Miguel Machado

Author

Commented:

Ok, the controls  events in TEXTBOX,  KEYPRESS, KEYUP or KEYDOWN is detected

but Form events KEYPRESS, KEYUP or KEYDOWN no detected,

if possbile detect key press in the form?

in Winforms is posible with KeyPreview Propiety but in .NET compatc framework no is avalible this propierty

CERTIFIED EXPERT

Commented:
You dont need keypreview the form does not pick up Messages from the SIP but it does get clicks

try adding the code  msgbox "hi" in Form_Keypress  and then click the form youll see it triggers the event the sip just send messages to input controls

Author

Commented:
the event Form_keypress no succed in .NET compact Framework,

i try and only occurred the Control_keypres or Keyup or keydown, but no in form

i don´t not

i looking for a solution for this:


Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtBuscar.KeyUp
        Me.txtBuscar.Focus()
End Sub
       
but i can´t produce event FORM1_KEYUP

CERTIFIED EXPERT

Commented:
try keydown
CERTIFIED EXPERT

Commented:
For the CLick

BottomLine the SIP will not send to those Form Events

Author

Commented:
no mikal no produce any event KeyPress or KeyUp or KeyDown in the form



if event FORM_KEYPRES exists, FORM_KEYUP and FORM_KEYDOWN must exist some way to generate it or no?

I have not been able to produce none of these events

CERTIFIED EXPERT

Commented:
you clicked the form with your stylus???


What OS you using?

and what language?
CERTIFIED EXPERT

Commented:
vb.net sorry
CERTIFIED EXPERT

Commented:
click a part on the form that doesnt have a Label or textbox or anything

Author

Commented:
yes Mikal

i work with VB.NET and .NET Compact Framework,

now use a PDA Symbol PTT2800 with Windows POCKET PC  Version 3.0.11171

CERTIFIED EXPERT

Commented:
POCKET PC  Version 3.0.11171?

Thats 2002   you wont have that capabilities in that vesion

You need the 2003 OS version 4.20 ++

Author

Commented:
I am going to check a Form without no other type of control I am going to test that to see if it works

Author

Commented:
yes, this a Pocket PC 2002

i can upgrade my PDA to Windows CE .NET ?

is free?

or it has some cost?

my PDA is a SYMBOL PPT2800
and it has integrated a code bar reader, soon as I form it?  

they are many complications to solve a so simple problem
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

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

OR

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.