Click here to Skip to main content
15,896,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How could a function read any type of variable's value and return it as a string? Pin
riced15-Feb-09 4:37
riced15-Feb-09 4:37 
GeneralRe: How could a function read any type of variable's value and return it as a string? Pin
JUNEYT15-Feb-09 7:22
JUNEYT15-Feb-09 7:22 
GeneralRe: How could a function read any type of variable's value and return it as a string? Pin
Eddy Vluggen15-Feb-09 7:49
professionalEddy Vluggen15-Feb-09 7:49 
QuestionKeyDown Event keeps firing Pin
Zaegra14-Feb-09 23:25
Zaegra14-Feb-09 23:25 
AnswerRe: KeyDown Event keeps firing Pin
Wendelius15-Feb-09 0:57
mentorWendelius15-Feb-09 0:57 
AnswerRe: KeyDown Event keeps firing Pin
riced15-Feb-09 0:59
riced15-Feb-09 0:59 
GeneralRe: KeyDown Event keeps firing Pin
Zaegra15-Feb-09 2:23
Zaegra15-Feb-09 2:23 
GeneralRe: KeyDown Event keeps firing Pin
riced15-Feb-09 2:48
riced15-Feb-09 2:48 
I'm a bit hazy on this since I've not used Key events for some years.
But here's my suggestion.
When KeyDown fires store the key code in a variable (as well as setting keyIsDown flag).
When the event fires again, if the current key code is same as previous just ignore it. When the code changes do whatever you have to.

One thing that stopped me using key events is that generally I wouldn't want to change the behavior of standard key combinations like Alt=F4.

Regards
David R
AnswerRe: KeyDown Event keeps firing Pin
Eddy Vluggen15-Feb-09 3:27
professionalEddy Vluggen15-Feb-09 3:27 
GeneralRe: KeyDown Event keeps firing Pin
Luc Pattyn15-Feb-09 9:56
sitebuilderLuc Pattyn15-Feb-09 9:56 
AnswerRe: KeyDown Event keeps firing Pin
Samir Ibrahim15-Feb-09 22:22
Samir Ibrahim15-Feb-09 22:22 
QuestionVersion check Pin
JR21214-Feb-09 20:50
JR21214-Feb-09 20:50 
AnswerRe: Version check Pin
Dave Kreskowiak15-Feb-09 4:39
mveDave Kreskowiak15-Feb-09 4:39 
GeneralRe: Version check Pin
JR21215-Feb-09 19:39
JR21215-Feb-09 19:39 
GeneralRe: Version check Pin
Dave Kreskowiak16-Feb-09 2:13
mveDave Kreskowiak16-Feb-09 2:13 
QuestionI need help with ADO.NET Pin
fiaolle14-Feb-09 10:53
fiaolle14-Feb-09 10:53 
AnswerRe: I need help with ADO.NET Pin
Calin Tatar14-Feb-09 13:18
Calin Tatar14-Feb-09 13:18 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 1:22
fiaolle15-Feb-09 1:22 
AnswerRe: I need help with ADO.NET Pin
Dave Kreskowiak15-Feb-09 4:36
mveDave Kreskowiak15-Feb-09 4:36 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 8:10
fiaolle15-Feb-09 8:10 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak15-Feb-09 10:07
mveDave Kreskowiak15-Feb-09 10:07 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 10:19
fiaolle15-Feb-09 10:19 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak15-Feb-09 18:03
mveDave Kreskowiak15-Feb-09 18:03 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 20:52
fiaolle15-Feb-09 20:52 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak16-Feb-09 2:15
mveDave Kreskowiak16-Feb-09 2:15 

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.