SRL Archive - C#/Visual Basic Help and Tutorials

type send not send keys in vb


Noob King

2008-09-13 17:15:04

I deleted my other thread cause i didnt know that people could use .exe as a virus (im a noob at programing.) so can some one just show me the function for type send in visual basic? rep++ if you can help me :)

darklighte

2008-10-20 16:41:31

Hey it is pretty simple to use this command and also very usefull! .

To use the commands below you can add SendKeys().
A example of this would be to make it send the Esc key you would type

SendKeys.Send("{ESC}")

Now if you want to send text all you do is add a textbox to your program and then you can use the code like this.

SendKeys.Send(TextBox1.Text)

Here is a list of some keys and the code to use them.
[B][U]Key[/U] 	[U]Code[/U][/B] 

BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
CAPS LOCK {CAPSLOCK}
DEL or DELETE {DELETE} or {DEL}
DOWN ARROW {DOWN}
END {END}
ENTER {ENTER}or ~
ESC {ESC}
HELP {HELP}
HOME {HOME}
INS or INSERT {INSERT} or {INS}
LEFT ARROW {LEFT}
NUM LOCK {NUMLOCK}
PAGE DOWN {PGDN}
PAGE UP {PGUP}
PRINT SCREEN {PRTSC}
RIGHT ARROW {RIGHT}
SCROLL LOCK {SCROLLLOCK}
TAB {TAB}
UP ARROW {UP}
F1 {F1}
F2 {F2}
F3 {F3}
F4 {F4}
F5 {F5}
F6 {F6}
F7 {F7}
F8 {F8}
F9 {F9}
F10 {F10}
F11 {F11}
F12 {F12}
F13 {F13}
F14 {F14}
F15 {F15}
F16 {F16}
SHIFT +
CTRL ^
ALT %

Hope I could of helped if you need help with you program pm me and I will glady help you.

TViYH

2008-10-20 17:31:55

He wants TypeSend. TypeSend types it like a human.

darklighte

2008-10-20 17:41:42

oh I am sorry I thought he meant something else, my bad.

eddie

2008-10-22 15:24:06

That's a nice little list of commands, found something I needed in there :P

Where did you get that from? Surely not from memory :eek:

I need to find somewhere that has all that shit when I need it :P

TViYH

2008-10-23 17:14:41

I believe he googled VB Key Codes.