Click here to Skip to main content
15,919,613 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Capturing a series of keystrokes at any time Pin
Leah_Garrett21-Nov-06 17:24
Leah_Garrett21-Nov-06 17:24 
AnswerRe: Capturing a series of keystrokes at any time Pin
Dave Kreskowiak22-Nov-06 4:18
mveDave Kreskowiak22-Nov-06 4:18 
You don't have to handle the keydown event of every control. You just have to do it in the Form's KeyDown event. But, in order for it to work, you have to turn on (True) the Form's KeyPreview property.

There is no event for the typing of a string of characters, only one keystroke. Your Form's KeyPress event handler code then has to keep track of the last "x" number of keys that were hit and compare them to the string you want as your "cheat" string.


Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionOLE DB help Pin
rickki21-Nov-06 10:39
rickki21-Nov-06 10:39 
AnswerRe: OLE DB help Pin
Dave Kreskowiak22-Nov-06 4:15
mveDave Kreskowiak22-Nov-06 4:15 
GeneralRe: OLE DB help [modified] Pin
rickki22-Nov-06 7:00
rickki22-Nov-06 7:00 
QuestionScreen Sizing Pin
Silver-Grey21-Nov-06 10:18
Silver-Grey21-Nov-06 10:18 
AnswerRe: Screen Sizing Pin
Ray Cassick21-Nov-06 10:35
Ray Cassick21-Nov-06 10:35 
GeneralRe: Screen Sizing Pin
MatrixCoder21-Nov-06 10:41
MatrixCoder21-Nov-06 10:41 
GeneralRe: Screen Sizing Pin
Leah_Garrett21-Nov-06 17:34
Leah_Garrett21-Nov-06 17:34 
GeneralRe: Screen Sizing Pin
Silver-Grey22-Nov-06 4:02
Silver-Grey22-Nov-06 4:02 
GeneralRe: Screen Sizing Pin
Ray Cassick22-Nov-06 4:31
Ray Cassick22-Nov-06 4:31 
GeneralRe: Screen Sizing Pin
Silver-Grey22-Nov-06 4:38
Silver-Grey22-Nov-06 4:38 
GeneralRe: Screen Sizing Pin
Ray Cassick22-Nov-06 9:41
Ray Cassick22-Nov-06 9:41 
QuestionUnclosed quotation exception Pin
jds120721-Nov-06 7:22
jds120721-Nov-06 7:22 
AnswerRe: Unclosed quotation exception Pin
Dave Kreskowiak21-Nov-06 7:56
mveDave Kreskowiak21-Nov-06 7:56 
AnswerRe: Unclosed quotation exception Pin
jsampsonPC21-Nov-06 14:34
jsampsonPC21-Nov-06 14:34 
QuestionTextBox Binding Pin
Tomic21-Nov-06 7:21
Tomic21-Nov-06 7:21 
QuestionListView Question Pin
Keith Malwitz21-Nov-06 6:11
Keith Malwitz21-Nov-06 6:11 
AnswerRe: ListView Question Pin
momooomooomomo21-Nov-06 16:58
momooomooomomo21-Nov-06 16:58 
QuestionVB.NET code to check email and domain verification Pin
chandan198321-Nov-06 5:43
chandan198321-Nov-06 5:43 
GeneralRe: VB.NET code to check email and domain verification Pin
chandan198321-Nov-06 5:53
chandan198321-Nov-06 5:53 
AnswerRe: VB.NET code to check email and domain verification Pin
Dave Kreskowiak21-Nov-06 5:53
mveDave Kreskowiak21-Nov-06 5:53 
Questioncode to "sniff" file header to determine file type Pin
dgibson553121-Nov-06 4:50
dgibson553121-Nov-06 4:50 
AnswerRe: code to "sniff" file header to determine file type Pin
Yona Low21-Nov-06 5:38
Yona Low21-Nov-06 5:38 
QuestionVB.NET 2005 Pin
Karma3125121-Nov-06 4:48
Karma3125121-Nov-06 4:48 

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.