Hack Forums
[.NET] plz help. - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] plz help. (/showthread.php?tid=5611556)



plz help. - ghzt2 - Apr 29, 2017

So I'm making a spammer, when I press "start" basically the message that I typed in TextBox1.Text is getting spammed in TextBox1.Text before I highlight where I want to spam (When I press "Start" it automatically highlights Textbox1.Text and spam in there abit so the message that I want to spam is not correct. F.EX: [lol] [lololololll] ), What do I do to prevent that from happening? Sorry for alot of questions 🤝


* - shadowic20 - Apr 30, 2017

I am not really sure what it is you want to accomplish. Could you maybe eloborate a bit more? Also, posting the source code would help a lot :)


* - SIM-1078643 - Apr 30, 2017

Something like this?

Code
Private Sub buttonStart_Click(sender As Object, e As EventArgs) Handles buttonStart.Click
        Dim messageToSpam As String = TextBox1.Text
        TextBox1.DeselectAll()
    End Sub



* - ZipBag - May 1, 2017

Code
Private Sub buttonStart_Click(sender As Object, e As EventArgs) Handles buttonStart.Click
        TextBox1.ReadOnly = True
        'SpamTimer.Start etc etc
    End Sub