Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21422

Need Code for Press number key on Window

$
0
0
Alright so it's been years since i've coded in VB6 but its the only i've used.

What im looking to do is is have a Timer to start sending a number key press every second that is i set for like Text Box one..

So heres an example of what i wanna do

When Text Box 1 will have a option to put in say 120 seconds when F9 is pressed it will press the 8 Key on a Active Window Title like Notepad for example.

I've been out of coding in VB6 for so many years i have no idea how to code it so if one of you can code me an example i'll throw it into a Standard EXE and add a Timer and a Textbox to the form.

Would greatly thank anyone for help. Just wanna throw it together for a small project.

Thanks!

Viewing all articles
Browse latest Browse all 21422

Trending Articles