Click here to Skip to main content
15,916,091 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to get Hexadecimal code Pin
David Skelly10-Dec-09 2:16
David Skelly10-Dec-09 2:16 
Questionmimic HTML frame - Access subforms Pin
john john mackey9-Dec-09 12:47
john john mackey9-Dec-09 12:47 
AnswerRe: mimic HTML frame - Access subforms Pin
_Damian S_9-Dec-09 19:13
professional_Damian S_9-Dec-09 19:13 
GeneralRe: mimic HTML frame - Access subforms Pin
john john mackey10-Dec-09 5:30
john john mackey10-Dec-09 5:30 
QuestionKey press problem Pin
Pasan1489-Dec-09 6:58
Pasan1489-Dec-09 6:58 
AnswerRe: Key press problem Pin
Dave Kreskowiak9-Dec-09 7:25
mveDave Kreskowiak9-Dec-09 7:25 
AnswerRe: Key press problem Pin
Wes Aday9-Dec-09 7:54
professionalWes Aday9-Dec-09 7:54 
AnswerRe: Key press problem Pin
Luc Pattyn9-Dec-09 8:31
sitebuilderLuc Pattyn9-Dec-09 8:31 
The KeyPress event passses a KeyPressEventArgs which holds the KeyChar, i.e. the char that the user intends when he types a key or key combination that produces some text. This is the event you should use to consume text input.

The KeyDown and KeyUp events also fire for key actions that don't produce visible text, such as the control key. They hold a KeyEventArgs that has all possible information about a key and the key modifiers. These are the events you could use to filter keyboard input.

BTW: Control.ModifierKeys is always up to date, but seldom needed.

PS: is something wrong with the documentation? did Google break down? Read up on the classes you use!

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionError 53 (HRESULT 0x80070002) calling DLL from DLL Pin
Gennady Oster9-Dec-09 6:13
Gennady Oster9-Dec-09 6:13 
AnswerRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL Pin
Dave Kreskowiak9-Dec-09 7:17
mveDave Kreskowiak9-Dec-09 7:17 
GeneralRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL Pin
Gennady Oster9-Dec-09 7:43
Gennady Oster9-Dec-09 7:43 
AnswerRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL Pin
The Man from U.N.C.L.E.9-Dec-09 7:26
The Man from U.N.C.L.E.9-Dec-09 7:26 
GeneralRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL Pin
Gennady Oster9-Dec-09 7:46
Gennady Oster9-Dec-09 7:46 
GeneralRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL Pin
Gennady Oster9-Dec-09 20:13
Gennady Oster9-Dec-09 20:13 
AnswerRe: Error 53 (HRESULT 0x80070002) calling DLL from DLL - SOLVED Pin
Gennady Oster9-Dec-09 23:13
Gennady Oster9-Dec-09 23:13 
Questionvb functions Pin
negar karimi9-Dec-09 6:06
negar karimi9-Dec-09 6:06 
AnswerRe: vb functions Pin
EliottA9-Dec-09 6:40
EliottA9-Dec-09 6:40 
AnswerRe: vb functions Pin
Wes Aday9-Dec-09 6:55
professionalWes Aday9-Dec-09 6:55 
AnswerRe: vb functions Pin
Dave Kreskowiak9-Dec-09 7:15
mveDave Kreskowiak9-Dec-09 7:15 
GeneralRe: vb functions Pin
negar karimi11-Dec-09 7:19
negar karimi11-Dec-09 7:19 
GeneralRe: vb functions Pin
Dave Kreskowiak11-Dec-09 9:07
mveDave Kreskowiak11-Dec-09 9:07 
AnswerRe: vb functions Pin
The Man from U.N.C.L.E.9-Dec-09 7:23
The Man from U.N.C.L.E.9-Dec-09 7:23 
AnswerRe: vb functions Pin
David Skelly9-Dec-09 22:27
David Skelly9-Dec-09 22:27 
GeneralRe: vb functions Pin
negar karimi11-Dec-09 7:41
negar karimi11-Dec-09 7:41 
GeneralRe: vb functions Pin
Dave Kreskowiak11-Dec-09 9:09
mveDave Kreskowiak11-Dec-09 9:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.