Solved

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

Posted on 2004-03-26
18
380 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
0
Comment
Question by:memm
  • 10
  • 6
18 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 10686988
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
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10686996
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
0
 

Author Comment

by:memm
ID: 10687175

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

0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 48

Expert Comment

by:Mikal613
ID: 10687258
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
0
 

Author Comment

by:memm
ID: 10687712
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

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687723
try keydown
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687726
For the CLick

BottomLine the SIP will not send to those Form Events
0
 

Author Comment

by:memm
ID: 10687790
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

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687836
you clicked the form with your stylus???


What OS you using?

and what language?
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687837
vb.net sorry
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687846
click a part on the form that doesnt have a Label or textbox or anything
0
 

Author Comment

by:memm
ID: 10687869
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

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10687909
POCKET PC  Version 3.0.11171?

Thats 2002   you wont have that capabilities in that vesion

You need the 2003 OS version 4.20 ++
0
 

Author Comment

by:memm
ID: 10688071
I am going to check a Form without no other type of control I am going to test that to see if it works
0
 

Author Comment

by:memm
ID: 10688114
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
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 250 total points
ID: 10688127
you want Pocket PC 2003 and yes you can use CE.NET
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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