Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27360

help with coding

$
0
0
Dear ADMIN, pls DON'T delete this thread, this is not an spambot for the spamming porpouse for me, I just want to know how to do it the best way, I already did it with adding "0" and increment it, but what I don't know is how to add .0 and increment it, cuz its reporting me an error...
As I said, if this would be an spambot for annoying ppl, I wouldn't need to open this thread... and such setting ( I am just making it for fun, training...), adding '_0' '.0' =error, aI am a newbie as I said

Do
SendKeys.Send(TextBox1.Text & ("0" + Me.x))
SendKeys.Send("{enter}")
Loop

Hey, this is a part from my (noob) spambot, this is the part to choose the 'spam count' (how much time the program should spam the text form textbox1)

Attachment 97383

textbox1.text, where the user writes his spam message
textbox3.text, where the user writes the delay, used if radiobutton10 checked
my.settings.rb10 = 6 , can be changed in program
1, 3, 5, 7 are the values of radiobutton6-9, and the values of my.settings.rb6-9 till they get changed in program @settings


If RadioButton10.Checked = True Then
My.Settings.rb10 = TextBox3.Text
For Me.x = 1 To My.Settings.rb10
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{enter}")
Next
ElseIf RadioButton6.Checked = True Then
For Me.x = 1 To My.Settings.rb6
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{enter}")
Next
ElseIf RadioButton7.Checked = True Then
For Me.x = 1 To My.Settings.rb7
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{enter}")
Next
ElseIf RadioButton8.Checked = True Then
For Me.x = 1 To My.Settings.rb8
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{enter}")
Next
ElseIf RadioButton9.Checked = True Then
For Me.x = 1 To My.Settings.rb9
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{enter}")
Next

I want to make that working like that:
e.g. chosen spam count: 4 (4 message at a time), written message into textbox1: Spammessage asdasdasd

Spammessage asdasdasd .0
Spammessage asdasdasd .1
Spammessage asdasdasd .2
Spammessage asdasdasd .3
Spammessage asdasdasd .4

Spammessage asdasdasd .5
Spammessage asdasdasd .6
Spammessage asdasdasd .7
Spammessage asdasdasd .8
Spammessage asdasdasd .9

and so on...

It should add " .0" and increments it
or any other style :)
any suggestions or done ...?
Thx and sry if I made a bad job :)
correct me, help me, suggest !
Attached Images
 

Viewing all articles
Browse latest Browse all 27360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>