Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Code that Copys and Pastes in a VB application !!!READ!!!


ghost's Avatar
0 0

I wanna know some code that will copy whats in a text box, and bind it to a certain key….so like


lalalalalallalala| ______________| and a command button here that will bind it

Now whenever you type in lets say f9, then it will type that out fast, in whatever window you choose.

I want to make this program so i can say stuff fast in games that have text boxes, but will not allow you to copy and paste it into the text box….Plz help and ill have a pretty cool prog :)


ghost's Avatar
0 0

I'll try it when i'm back home, i'll edit this post


Mr_Cheese's Avatar
0 1

try using the send keys function.

im not 100% sure on how to get it to it to ewnter the text when a key is pressed.

but this is how to get it to store the data, and make it type the keys

Dim TypeKeys as string

TypeKeys = text1.text

IF [key is pressed] THEN

SendKeys (TypeKeys)

END IF