04-06-2010, 03:51 AM
*THIS IS NOT ILLEGAL*
WARNING: It was first coded for LeetCoders contest. It's not advertising.
Source:
Screenshot:
Video example:
[yt]http://www.youtube.com/watch?v=TjkhiwTX1aY[/yt]
Download Project & Binary:
http://www.multiupload.com/RAG6M587VI
P.S. If you use it in your program, please give proper credits to me(Soul Collector), thanks.
[/font]
WARNING: It was first coded for LeetCoders contest. It's not advertising.
Source:
Code:
'\\ Author: Soul Collector
'\\ Language: VB .NET aka. Visual Basic 2008
'\\ Contact: soulcoll3ctor@live.com
'\\ Comments: Please, if you use it. Give credits to Me(Soul Collector), thanks.
Public Class Form1
Dim Stored As String
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If Stored = My.Computer.Clipboard.GetText = False Then
If lblNumb.Text = 0 = False Then
lblNumb.Text = lblNumb.Text + 1
txtBoard.Text = txtBoard.Text & vbNewLine & vbNewLine & "Log " & lblNumb.Text & " - " & My.Computer.Clipboard.GetText
Stored = My.Computer.Clipboard.GetText
Else
lblNumb.Text = lblNumb.Text + 1
txtBoard.Text = txtBoard.Text & "Log " & lblNumb.Text & " - " & My.Computer.Clipboard.GetText
Stored = My.Computer.Clipboard.GetText
End If
Else
End If
End Sub
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
End Class
Screenshot:
Video example:
[yt]http://www.youtube.com/watch?v=TjkhiwTX1aY[/yt]
Download Project & Binary:
http://www.multiupload.com/RAG6M587VI
P.S. If you use it in your program, please give proper credits to me(Soul Collector), thanks.
[/font]