Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do you trap mouse clicks for save, copy and print? Pin
Christian Graus19-Apr-09 14:39
protectorChristian Graus19-Apr-09 14:39 
QuestionProtected Overrides Function ProcessCmdKey Pin
AndyASPVB19-Apr-09 0:52
AndyASPVB19-Apr-09 0:52 
AnswerRe: Protected Overrides Function ProcessCmdKey Pin
Luc Pattyn19-Apr-09 1:17
sitebuilderLuc Pattyn19-Apr-09 1:17 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
AndyASPVB19-Apr-09 2:25
AndyASPVB19-Apr-09 2:25 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
Luc Pattyn19-Apr-09 2:42
sitebuilderLuc Pattyn19-Apr-09 2:42 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
paas19-Apr-09 4:09
paas19-Apr-09 4:09 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
AndyASPVB19-Apr-09 5:11
AndyASPVB19-Apr-09 5:11 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
paas19-Apr-09 7:04
paas19-Apr-09 7:04 
AndyASPVB wrote:
Also I noticed that won't work because the function is fired twice, which must be because there is two key strokes?...


Have you tried running the code without stepping through the debugger? I believe ProcessCmdKey may fire twice under this scenario with the first firing showing keyData as the modifier key values summed (e.g., Keys.Control + Keys.ControlKey), and the second firing being, from my code example (Keys.Control + Keys.C).

At any rate, I know the sample I gave you works for me with VS 2003 or VS 2005 for capturing modifier key combinations in ProcessCmdKey (whether it be Alt or CTRL with another key). If it really is not working for you, I'm sorry I don't know why. I have not tried this under VS 2008 and, if that is what you are working under, maybe there is some slightly different behavior.
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
AndyASPVB19-Apr-09 10:33
AndyASPVB19-Apr-09 10:33 
GeneralRe: Protected Overrides Function ProcessCmdKey Pin
HowitZer2623-Jun-09 7:25
HowitZer2623-Jun-09 7:25 
QuestionXML: Writing and Parsing of HTML code Pin
DHalo18-Apr-09 17:26
DHalo18-Apr-09 17:26 
AnswerRe: XML: Writing and Parsing of HTML code Pin
Colin Angus Mackay19-Apr-09 1:11
Colin Angus Mackay19-Apr-09 1:11 
QuestionVoice Command Grammar Loading Error Pin
p00m18-Apr-09 8:37
p00m18-Apr-09 8:37 
AnswerRe: Voice Command Grammar Loading Error Pin
Johan Hakkesteegt21-Apr-09 21:32
Johan Hakkesteegt21-Apr-09 21:32 
QuestionNeed help on Visual basic 2008 Express (Microsoft Access Database) Pin
helen0018-Apr-09 7:27
helen0018-Apr-09 7:27 
AnswerRe: Need help on Visual basic 2008 Express (Microsoft Access Database) Pin
Henry Minute18-Apr-09 8:55
Henry Minute18-Apr-09 8:55 
QuestionBrowser Activity Pin
AndyASPVB18-Apr-09 5:00
AndyASPVB18-Apr-09 5:00 
AnswerRe: Browser Activity Pin
Eddy Vluggen18-Apr-09 22:48
professionalEddy Vluggen18-Apr-09 22:48 
QuestionDisable some hot keys Pin
AndyASPVB18-Apr-09 4:57
AndyASPVB18-Apr-09 4:57 
AnswerRe: Disable some hot keys Pin
Zaegra18-Apr-09 5:36
Zaegra18-Apr-09 5:36 
AnswerRe: Disable some hot keys Pin
Eddy Vluggen18-Apr-09 6:57
professionalEddy Vluggen18-Apr-09 6:57 
AnswerRe: Disable some hot keys Pin
Mycroft Holmes18-Apr-09 17:22
professionalMycroft Holmes18-Apr-09 17:22 
GeneralRe: Disable some hot keys Pin
AndyASPVB18-Apr-09 22:41
AndyASPVB18-Apr-09 22:41 
QuestionRefreshing the UI during a long process using VB.NET 3.5 without Application.DoEvents - believe me Ive tried! Pin
Marcus J. Smith18-Apr-09 4:14
professionalMarcus J. Smith18-Apr-09 4:14 
QuestionRe: Refreshing the UI during a long process using VB.NET 3.5 without Application.DoEvents - believe me Ive tried! Pin
Eddy Vluggen18-Apr-09 6:51
professionalEddy Vluggen18-Apr-09 6:51 

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.