How to make A Simple Auto-Writer
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
7 posts
Page 1 of 1
Hello Guys
In this tutorial in going to show you how to make a simple auto-writer
start vb > Create new project
Components :
2 Buttons
1 Textbox
1 Checkbox
1 Timer
1 NumericUpDown
Change Button1 Text to Start
Change Button2 Text to Stop
Change Checkbox1 Text to Send Enter
Button1 - it will start the timer ( THE AUTO-WRITER WILL START )

In this tutorial in going to show you how to make a simple auto-writer
start vb > Create new project
Components :
2 Buttons
1 Textbox
1 Checkbox
1 Timer
1 NumericUpDown
Change Button1 Text to Start
Change Button2 Text to Stop
Change Checkbox1 Text to Send Enter
Button1 - it will start the timer ( THE AUTO-WRITER WILL START )
Code: Select all
Button2 - it will stop the timer
Timer1.start
Code: Select all
Timer1 Code : Timer1.stop
Code: Select all
The Whole Codes ( DELETE ALL THE CODES AND PASTE THIS )
Timer1.Interval = NumericUpDown1.Value & "000" ' Interval = Speed , every 1000 = sec so it will put after the value "000"
If CheckBox1.CheckState = CheckState.Checked Then
On Error Resume Next
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
Else
On Error Resume Next
SendKeys.Send(TextBox1.Text)
End If
Code: Select all
Thanks Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.start()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.stop()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Interval = NumericUpDown1.Value & "000"
If CheckBox1.CheckState = CheckState.Checked Then
On Error Resume Next
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
Else
On Error Resume Next
SendKeys.Send(TextBox1.Text)
End If
End Sub
End Class

You do not have the required permissions to view the files attached to this post.
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
Thanks for the appreciation cleverboy. I never made a tutorial in my whole life but I just started creating last week and have like 5 tutorials right now. I was inspired by codenstuff's tutorials and thought that my tutorial would also be posted in the Tutorials and Downloads section so I tried to make them as good as possible.
I have an better code, so you dont get errors!
Code: Select all
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
Button1.Enabled = False
Button2.Enabled = True
TextBox1.Enabled = False
NumericUpDown1.Enabled = False
CheckBox1.Enabled = False
If NumericUpDown1.Text = "" Or NumericUpDown1.Text = "0" Then
MessageBox.Show("Please enter valid value!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error)
Button2.PerformClick()
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
Button1.Enabled = True
Button2.Enabled = False
TextBox1.Enabled = True
NumericUpDown1.Enabled = True
CheckBox1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Interval = NumericUpDown1.Value & "000"
If CheckBox1.CheckState = CheckState.Checked Then
On Error Resume Next
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
Else
On Error Resume Next
SendKeys.Send(TextBox1.Text)
End If
End Sub
End Class
if you add some text then it will be able to even send commands like enter
Huh, i got banned for reporting a bug. The admin thought i had exploited it when i haven't, there isn't even evidence i had exploited it, but when i tried explaining that i hadn't they didn't understand me. After the ban i also lost 107 credits to make it more "fun".
Yes it is,he means by auto-writter that it automatically writes I think :P
Sorry guys if it is a Spamming tutorial then sorry for this is mean this is a feature you can add it to your Text editor,, Thanks
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023