[Solved]Adding Timer?

Posts 1–15 of 15 · Page 1 of 1
[Solved]Adding Timer?
Ok so i just made a very basic spammer
Start/Stop buttons and text input
Spams every 10 MS
But i want to be able to adjust the speed
How?

Thanks People!
Quote Originally Posted by Golden. View Post
Ok so i just made a very basic spammer
Start/Stop buttons and text input
Spams every 10 MS
But i want to be able to adjust the speed
How?

Thanks People!
You must've created a timer for it. Select the timer in the designer view and goto properties and set interval for speed.

1000 = 1 second

Programmatically you can set it as:

Timer1.Interval = 1000

Replace Timer1 with timer's name and 1000 with interval.

Hope this helps !!
Quote Originally Posted by Hassan View Post
You must've created a timer for it. Select the timer in the designer view and goto properties and set interval for speed.

1000 = 1 second

Programmatically you can set it as:

Timer1.Interval = 1000

Replace Timer1 with timer's name and 1000 with interval.

Hope this helps !!
Yeah, but i want to add a textbox so that i can put like
1
in the textbox and it will spam every 1 second
Quote Originally Posted by Golden. View Post
Yeah, but i want to add a textbox so that i can put like
1
in the textbox and it will spam every 1 second
Double click the textbox and add the following code:

Code:
Timer1.Interval = Cint(Textbox1.text)*1000
I suggest you use NumericUpdown control instead of Textbox1...Because it can give errors if the user does not enters a numeric value.

If you use NumericUpDown control then the code will be:
Code:
 Timer1.Interval = Cint(NumericUpDown1.Value)*1000
Great thanks, I Will try now!
Timer1.interval = Textbox2.text.
Ty mate, works perfectly
Huge Thanks!
Quote Originally Posted by Golden. View Post
Ty mate, works perfectly
Huge Thanks!
LOL, which mate ?? haha
Quote Originally Posted by Hassan View Post
LOL, which mate ?? haha
C'été moi.
Quote Originally Posted by Lolland View Post
C'été moi.
Lol, No dude, I think that was me .. Anyways, glad to see the problem is solved...

/thread
No, got an error now..
Check out the video in that rar
Quote Originally Posted by Golden. View Post
No, got an error now..
Check out the video in that rar
What's wrong with a screenshot -.-
Quote Originally Posted by Golden. View Post
No, got an error now..
Check out the video in that rar
Virus scan?
Just upload to YouTube.
He thanked me

Well looks solved, adding tags.
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us