Click here to Skip to main content
15,917,005 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Locking up an install-Get Hardware Pin
RichardBerry25-Aug-05 4:15
RichardBerry25-Aug-05 4:15 
GeneralRe: Locking up an install Pin
OK_Jojo26-Aug-05 6:58
OK_Jojo26-Aug-05 6:58 
GeneralProgram only works in within visual studio Pin
nim5224-Aug-05 14:58
nim5224-Aug-05 14:58 
GeneralRe: Program only works in within visual studio Pin
Christian Graus24-Aug-05 15:10
protectorChristian Graus24-Aug-05 15:10 
GeneralRe: Program only works in within visual studio Pin
nim5224-Aug-05 17:46
nim5224-Aug-05 17:46 
GeneralRe: Program only works in within visual studio Pin
Christian Graus24-Aug-05 17:48
protectorChristian Graus24-Aug-05 17:48 
GeneralRe: Program only works in within visual studio Pin
nim5225-Aug-05 8:20
nim5225-Aug-05 8:20 
GeneralKey Board Hooking and SendInput function Pin
matthew kelly24-Aug-05 12:16
matthew kelly24-Aug-05 12:16 
Wink | ;) ;)I have pulled together a VB.net project that hooks the keyboard (Ref. Paul Kimmel's hooking program) and allow the user to send "mouse right clicks" via the SendInpuut function (mouse emulation works fine). I am also trying to make this project capable of "Rearrange the keyboard" (example type "e" and "K" is sent to the application) by using SendInput function and I am not able to get it to work. I am finding the use of SendInput function for emmulating key board inputs, not very easy to use..

In am wonder, what are the pros and cons of using SendInput, SendKeys and KeyBoardEvent?? I have been able to get the SendKeys function to work in the project and rearrange the keyboard, except for emmulating "PageUp", "PageDown" (problems with the data types,,).. Another reason that I want to use SendInput function over SendKeys, is the ease of being able to strip down the keyboard input to raw data and change what an application would receive...

I am looking for further discussion on these topics. I would be very happy to share my project code with someone interested in helping me trouble shoot the SendInput function. The project toggles the keyboard input (new mode = ` / old mode = esc). In "new mode" the "d" key when pressed becomes a mouse right click and the "e" key when pressed should place a "t" (thats the problem), into the keyboard input buffer. The SendInput function fails as it returns a "0" as oppose to a "1"..

Reference: Paul Kimmel, Managing Low-Level Keyboard Hooks in VB.NET, Developer. com

Thanks to all that have contributed on my project, either directly by helping out at discussion group, email or by articles publisher to the web on Key Board Hooking, SendInput function, Win32 API's,,, Your help has been priceless.

Thanks again

Matt
GeneralRe: Key Board Hooking and SendInput function Pin
progload24-Aug-05 15:43
progload24-Aug-05 15:43 
GeneralOverloads vs. Shadows Pin
Ghazi Sarhan24-Aug-05 9:38
Ghazi Sarhan24-Aug-05 9:38 
GeneralRe: Overloads vs. Shadows Pin
Christian Graus24-Aug-05 11:14
protectorChristian Graus24-Aug-05 11:14 
Generalbulletproof code best practices Pin
DaveC42691324-Aug-05 9:05
DaveC42691324-Aug-05 9:05 
GeneralRe: bulletproof code best practices Pin
Christian Graus24-Aug-05 11:16
protectorChristian Graus24-Aug-05 11:16 
GeneralWindows Shutdown Pin
klmall24-Aug-05 8:41
klmall24-Aug-05 8:41 
GeneralRe: Windows Shutdown Pin
Dave Kreskowiak24-Aug-05 9:02
mveDave Kreskowiak24-Aug-05 9:02 
GeneralRe: Windows Shutdown Pin
klmall24-Aug-05 12:51
klmall24-Aug-05 12:51 
GeneralActiveDocument.SaveAs Problem Pin
Jim Munton24-Aug-05 8:36
Jim Munton24-Aug-05 8:36 
GeneralRe: ActiveDocument.SaveAs Problem Pin
Dave Kreskowiak24-Aug-05 9:00
mveDave Kreskowiak24-Aug-05 9:00 
GeneralRe: ActiveDocument.SaveAs Problem Pin
Jim Munton24-Aug-05 9:10
Jim Munton24-Aug-05 9:10 
GeneralRe: ActiveDocument.SaveAs Problem Pin
Dave Kreskowiak24-Aug-05 10:00
mveDave Kreskowiak24-Aug-05 10:00 
Generalmaking backup and recovery using vb.net and Sql server 2000 as a database Pin
Mamokwena24-Aug-05 7:50
Mamokwena24-Aug-05 7:50 
GeneralRe: making backup and recovery using vb.net and Sql server 2000 as a database Pin
Dave Kreskowiak24-Aug-05 8:50
mveDave Kreskowiak24-Aug-05 8:50 
GeneralExport to excel formatting question Pin
raj_marthy24-Aug-05 6:26
raj_marthy24-Aug-05 6:26 
GeneralRe: Export to excel formatting question Pin
raj_marthy25-Aug-05 9:27
raj_marthy25-Aug-05 9:27 
QuestionHow can I add VBIDE in my VB solution references? Pin
ATC24-Aug-05 5:54
ATC24-Aug-05 5:54 

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.