473,385 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

keyboard key value to ascii

Shashi Sadasivan
1,435 Expert 1GB
Hi All,
I am trying to simulate a certain key action on a control (control is a text box and lets say the symbol * activates a new form when pressesd and the text box has focus)
this * symbol is stored as a keyvalue.tostring() in the database and the user can change it. (which means i cant hardcode)
Now everytime i press the * key, the popup comes out, but it also puts the * into the textbox. If i handle it then the popup does not occour (the event for the popup to occour is defined on a click, but the keydown event is a generic one and thats why i cant integrate the txtbox_click event within teh keydown)

Now when the key * is presed e.KeyValue equals 106, 106 translates to j,
cant get my head around why this occours??

any clue?

thanks!
Sep 17 '07 #1
0 1004

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Lumpierbritches | last post by:
Thank you in advance for any and all assistance. Is there a way in VB.Net to call the ASCII equivilalent to each corresponding keypress? Similar to VB6, using KeyAscii? If KeyAscii <= 26 Then...
1
by: RAGHAVENDRAS | last post by:
Hi All, I am writing a script for getting the ASCII value for the keyboard input. The script: #!c:\perl\bin -w # sascii - Show ASCII values for keypresses use Term::ReadKey;...
9
by: Peter Blues | last post by:
I'm trying to write from keyboard input to a txt file. I don't understand why the while loop below doesn't achieve this. I.. 1: open the file for writing through FILE pointer outstream 2: I get...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.