Simple Animation with Visual Basic 2008


This is a simple and very cool animation with VB 2008 ***IMPORTANT*** To make this project work you need these two pics- a bat with its wings and an the other bat with its wings down. To get these pics go the following site img121.imageshack.us img5.imageshack.us After going to the link copy and paste the two pics into a directory (simply a place where u know it is like my pics) Public Clas frmMain Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Static x As Integer = 5 Static y As Integer = 0 Static flip As Boolean = False If y Mod 2 = 0 Then Me.PictureBox1.Image = My.Resources.bat1_a Else Me.PictureBox1.Image = My.Resources.bat1_b End If if Me.PictureBox1.Left (Greater Then Sign)= 500 Then x = -5 flip = True ElseIf Me.PictureBox1.Left (less Then Sign)= 0 Then x = 5 flip = False End If If flip = True Then Me.PictureBox1.Image.RotateFlip(RotateFlipType.RotateNoneFlipX) End If Me.PictureBox1.Left = Me.PictureBox1.Left + xy += 1 End Sub End Class The next vid that i will make will show how make the naimation move using the arrow keys 🙂

5 4 Creating a Simple Browser in Visual Basic.NET


Using Visual Basic.NET (in this instance 2005) in order to create a simple browser that basically hijacks functionality from internet explorer Here’s the code: Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click WebBrowser1.GoBack() End Sub Private Sub btnFwd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFwd.Click WebBrowser1.GoForward() End Sub Private Sub btnHome_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnHome.Click WebBrowser1.GoHome() End Sub Private Sub btnRefresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRefresh.Click WebBrowser1.Refresh() End Sub Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click WebBrowser1.Navigate(txtUrl.Text) End Sub

LAN Chat program Simple Tutorial Visual Basic Network


This is a simple LAN Chat program written in visual basic 6.0. It is a step by step guide to programing your own LAN chat program. With image shots for clearer viewing also. – Christopher McKirgan