Online Code Sharing
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [VB6] Auto typer code

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts : 34
Join date : 2011-10-12

PostSubject: [VB6] Auto typer code   Sun Nov 06, 2011 10:45 am

Now add the Following from the Toolbar onto your form:
Command Button: 2
Timer: 1
Text Box:2
Click the timer & under the properties area at the bottom right there should be an option called "Interval" Set it to 1000

Name your First command button Start, Second Stop (under caption not name)
Now under Text one caption put "Message here" and for the second one put "Interval"

Double click your start button & ADD this

Code:
Timer1.Interval = Text2.Text
Timer1.Enabled = True


Its basicly the same thing as start it just tells it to stop the timer.

Finaly Double Click you Timer & add this

Code:
Sendkeys Text1.Text & "{ENTER}"

Now you can test it out and stuff, if you want to keep it go to "File\MakeProjectEXE then locate it to your desktp or something then your done
Back to top Go down
View user profile http://tcell.topicboard.net
 
[VB6] Auto typer code
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Silenium IDE code for selecting and ajax autopopulate dropdown item
» [TUTs] Auto Post - Công cụ tự động post bài
» How to add auto-resize
» Command for auto populated text verification.
» Code Geass - Klok's Anime Reviews

Permissions in this forum:You cannot reply to topics in this forum
Tcell Coding :: General Programing :: VB Scripting-
Jump to: