|
-
Jul 26th, 2005, 07:26 PM
#1
Thread Starter
Hyperactive Member
Select Case Help
i want to make a program that will record keystrokes from another app like notepad and it copy what is written in notepad to the other app. and then using an external text file send each word through it checking for all the ways to spells the words, and lets the user pick which one they want. but here is the first part and i would like for you'll to help with the rest. will this part work.
VB Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyA
SendKeys "a"
Case vbKeyB
SendKeys "b"
Case vbKeyC
SendKeys "c"
Case vbKeyD
SendKeys "d"
Case vbKeyE
SendKeys "e"
End Sub
-
Jul 26th, 2005, 07:31 PM
#2
Re: Select Case Help
this would save you some time:
VB Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
SendKeys KeyCode
End Sub
-
Jul 26th, 2005, 07:40 PM
#3
Thread Starter
Hyperactive Member
-
Jul 26th, 2005, 07:46 PM
#4
Re: Select Case Help
xypherx,
what you're after is called "key logger" and we don't support this arround here. Sorry.
eyeRmonkey,
besides some logic/syntax issues that was not what xypherx asked about.
-
Jul 26th, 2005, 07:51 PM
#5
Thread Starter
Hyperactive Member
Re: Select Case Help
sorry i didnt know. my apologies.
-
Jul 26th, 2005, 08:26 PM
#6
Re: Select Case Help
No, you didn't have to apologize - I can feel that you don't have nothing bad in mind, it's not a problem.
The real problem may come from someone that's looking for piece of code that could be used to create malicious app(s) ...
Cheers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|