CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2013
    Posts
    4

    Question help with coding

    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)

    Name:  aaaaaaaaaaaled.png
Views: 478
Size:  26.0 KB

    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 !

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: help with coding

    Hello! Unfortunately, this sort of question is not permitted by the Acceptable Use Policy of the forum.

    [Thread closed]
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured