agoes_doubleb Posted February 13, 2009 Posted February 13, 2009 (edited) This is some animation text with vb... VERSION 5.00Begin VB.Form Form1 Caption = "Form1" ClientHeight = 3570 ClientLeft = 60 ClientTop = 450 ClientWidth = 7500 LinkTopic = "Form1" ScaleHeight = 3570 ScaleWidth = 7500 StartUpPosition = 3 'Windows Default Begin VB.Timer TmrAnim8 Interval = 50 Left = 6660 Top = 3780 End Begin VB.Timer TmrAnim7 Interval = 20 Left = 6210 Top = 3780 End Begin VB.Timer TmrAnim6 Interval = 50 Left = 5760 Top = 3780 End Begin VB.Timer TmrAnim5 Interval = 100 Left = 5310 Top = 3780 End Begin VB.Timer TmrAnim4 Interval = 50 Left = 4860 Top = 3780 End Begin VB.Timer TmrAnim3 Interval = 50 Left = 4410 Top = 3780 End Begin VB.Timer TmrAnim2 Interval = 50 Left = 3960 Top = 3780 End Begin VB.Timer TmrAnim1 Interval = 50 Left = 3510 Top = 3780 End Begin VB.Label LblAnim8 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Index = 0 Left = 180 TabIndex = 7 Top = 2970 Width = 900 End Begin VB.Label LblAnim7 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Index = 0 Left = 180 TabIndex = 6 Top = 2520 Width = 900 End Begin VB.Label LblAnim6 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Index = 0 Left = 210 TabIndex = 5 Top = 2160 Width = 900 End Begin VB.Label LblAnim5 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Index = 0 Left = 210 TabIndex = 4 Top = 1770 Width = 900 End Begin VB.Label LblAnim4 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Index = 0 Left = 240 TabIndex = 3 Top = 1380 Width = 900 End Begin VB.Label LblAnim3 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Left = 240 TabIndex = 2 Top = 990 Width = 900 End Begin VB.Label LblAnim2 Alignment = 2 'Center AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Left = 240 TabIndex = 1 Top = 600 Width = 6930 End Begin VB.Label LblAnim1 AutoSize = -1 'True Caption = "Label1" BeginProperty Font Name = "Courier New" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 270 Left = 240 TabIndex = 0 Top = 210 Width = 900 EndEndAttribute VB_Name = "Form1"Attribute VB_GlobalNameSpace = FalseAttribute VB_Creatable = FalseAttribute VB_PredeclaredId = TrueAttribute VB_Exposed = FalseDim Anim1 As String, Anim2 As String, Anim3 As String, Anim4 As String, Anim5 As String, Anim6 As String, Anim7 As String, Anim8 As StringPrivate Sub Form_Load()Anim1 = "Agoes Doubleb Keren"Anim2 = "Doubpsycho Cakep"Anim3 = "Agoes Tri Hariyanto"Anim4 = "Keren gak animasinya"Anim5 = "Hidup Agoes yang cakep"Anim6 = "Pagi Mas Agoes yang Keren"Anim7 = "Visual Basic 6 Is The Best"Anim8 = "I'm Falling in Love with API"LblAnim1 = Anim1LblAnim2 = Anim2LblAnim3 = Anim3LblAnim4(0) = Left(Anim4, 1)For i = 1 To Len(Anim4) - 1Load LblAnim4(i)LblAnim4(i).Visible = TrueLblAnim4(i).Caption = Mid(Anim4, i + 1, 1)LblAnim4(i).Move LblAnim4(i - 1).Left + LblAnim4(i - 1).WidthNext iLblAnim5(0) = Left(Anim5, 1)For i = 1 To Len(Anim5) - 1Load LblAnim5(i)LblAnim5(i).Visible = TrueLblAnim5(i).Caption = Mid(Anim5, i + 1, 1)LblAnim5(i).Move LblAnim5(i - 1).Left + LblAnim5(i - 1).WidthNext iLblAnim6(0) = Left(Anim6, 1)For i = 1 To Len(Anim6) - 1Load LblAnim6(i)LblAnim6(i).Visible = TrueLblAnim6(i).Caption = Mid(Anim6, i + 1, 1)LblAnim6(i).Move LblAnim6(i - 1).Left + LblAnim6(i - 1).WidthNext iLblAnim7(0) = Left(Anim7, 1)LblAnim7(0).Visible = FalseFor i = 1 To Len(Anim7) - 1Load LblAnim7(i)'LblAnim7(i).Visible = TrueLblAnim7(i).Caption = Mid(Anim7, i + 1, 1)LblAnim7(i).Move LblAnim7(i - 1).Left + LblAnim7(i - 1).WidthNext iLblAnim8(0) = Left(Anim8, 1)For i = 1 To Len(Anim8) - 1Load LblAnim8(i)LblAnim8(i).Visible = TrueLblAnim8(i).Caption = Mid(Anim8, i + 1, 1)LblAnim8(i).Move LblAnim8(i - 1).Left + LblAnim8(i - 1).WidthNext iEnd SubPrivate Sub TmrAnim1_Timer()Static Kanan As BooleanLblAnim1.Left = LblAnim1.Left + IIf(Kanan, 400, -400)If LblAnim1.Left < 0 ThenKanan = TrueElseIf LblAnim1.Left > Me.Width - LblAnim1.Width ThenKanan = FalseEnd IfEnd SubPrivate Sub TmrAnim2_Timer()Static i As Integeri = i + 1If TmrAnim2.Interval = 500 ThenLblAnim2.Caption = IIf(LblAnim2.Caption = "", Anim2, "")If i = 6 Then i = 0 TmrAnim2.Interval = 50End IfElseLblAnim2.Caption = Left(Anim2, i)End IfIf i = Len(Anim2) Theni = 0TmrAnim2.Interval = 500End IfEnd SubPrivate Sub TmrAnim3_Timer()Static Atas As BooleanStatic TopAsli As IntegerIf TopAsli = 0 Then TopAsli = LblAnim3.TopLblAnim3.Top = IIf(Atas, LblAnim3.Top - 60, TopAsli)Atas = Not AtasLblAnim3.Left = LblAnim3.Left + 400If LblAnim3.Left > Me.Width ThenLblAnim3.Left = 0 - LblAnim3.WidthEnd IfEnd SubPrivate Sub TmrAnim4_Timer()Static j As IntegerIf j < Len(Anim4) Then LblAnim4(j).FontSize = LblAnim4(j).FontSize + 9If j > 0 And j < Len(Anim4) + 1 Then LblAnim4(j - 1).FontSize = LblAnim4(j - 1).FontSize - 3If j > 1 And j < Len(Anim4) + 2 Then LblAnim4(j - 2).FontSize = LblAnim4(j - 2).FontSize - 3If j > 2 Then LblAnim4(j - 3).FontSize = LblAnim4(j - 3).FontSize - 3j = j + 1If j > Len(Anim4) + 2 Thenj = 0End IfEnd SubPrivate Sub TmrAnim5_Timer()Static j As IntegerDim i As IntegerIf j < Len(Anim5) Then LblAnim5(j).Top = LblAnim5(j).Top - 60If j > 0 And j < Len(Anim5) + 1 Then LblAnim5(j - 1).Top = LblAnim5(j - 1).Top + 60j = j + 1If j > Len(Anim5) + 2 Thenj = 0End IfFor i = 0 To Len(Anim5) - 1LblAnim5(i).Left = LblAnim5(i).Left + 200Next iIf LblAnim5(0).Left > Me.Width ThenFor i = Len(Anim5) - 1 To 0 Step -1 LblAnim5(i).Left = IIf(i = Len(Anim5) - 1, 0 - LblAnim5(i).Width, 0 - ((Len(Anim5) - i) * LblAnim5(i).Width))Next iEnd IfEnd SubPrivate Sub TmrAnim6_Timer()Static j As IntegerRandomizeIf j > 0 And j < Len(Anim6) + 1 Then LblAnim6(j - 1).ForeColor = vbBlackIf j > 1 And j < Len(Anim6) + 2 Then LblAnim6(j - 2).ForeColor = vbBluej = j + 1If j > Len(Anim6) + 2 Thenj = 0End IfFor i = 0 To Len(Anim6) - 1LblAnim6(i).Left = LblAnim6(i).Left + 200Next iIf LblAnim6(0).Left > Me.Width ThenFor i = Len(Anim6) - 1 To 0 Step -1 LblAnim6(i).Left = IIf(i = Len(Anim6) - 1, 0 - LblAnim6(i).Width, 0 - ((Len(Anim6) - i) * LblAnim6(i).Width))Next iEnd IfEnd SubPrivate Sub TmrAnim7_Timer()Static j As IntegerRandomizeJatuh LblAnim7(j), LblAnim7(j).Topj = j + 1If j = Len(Anim7) Thenj = 0For i = 0 To Len(Anim7) - 1 LblAnim7(i).Visible = FalseNext iEnd IfEnd SubPrivate Sub Jatuh(Obj As Label, NTop As Integer)Obj.Top = 0Obj.Visible = TrueWhile Not Obj.Top > NTopObj.Top = Obj.Top + 1WendEnd SubPrivate Sub TmrAnim8_Timer()Static j As IntegerRandomizeIf j > 0 And j < Len(Anim8) + 1 Then LblAnim8(j - 1).ForeColor = vbRedIf j > 1 And j < Len(Anim8) + 2 Then LblAnim8(j - 2).ForeColor = vbBlackj = j + 1If j > Len(Anim8) + 2 Thenj = 0End IfEnd Sub Paste in Notepad and save with filename Animation.Frm ... Edited February 13, 2009 by agoes_doubleb
hanjian Posted February 13, 2009 Posted February 13, 2009 Ho ho....Very Simple and Thx for this Share but....this Room for Programming Keygen, Patcher and Etc."Hanjian"
Teddy Rogers Posted February 13, 2009 Posted February 13, 2009 this Room for Programming Keygen, Patcher and Etc. It is for all coding related issues and subjects... Ted.
agoes_doubleb Posted February 13, 2009 Author Posted February 13, 2009 Yes, we can add this in our keygen, patcher, crackme etc
yohukm Posted February 13, 2009 Posted February 13, 2009 (edited) Good share agoes_doubleb usefull source THANKS Edited February 13, 2009 by yohukm
hanjian Posted February 14, 2009 Posted February 14, 2009 ho ho ho ho.....For ALL COding....Oke.... thx For this Info. "Hanjian"
MB! Posted February 20, 2009 Posted February 20, 2009 @ agoes thank's for related source code..very usefull
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now