Make a Splash Screen with VB.Net

Saturday, November 27, 2010 by: Andy Kurnia Prayoga Made

Description: This program was made with the programming language visual basic 2008. The program is created as a variation in your program. Your program will look more attractive if there is activity load before the main form of your program is raised. Makes it very easy. Here code of the program this splash screen. Good luck!

Public Class Form1

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        ProgressBar1.Increment(4)
        If ProgressBar1.Value = 100 Then
            Timer1.Dispose()
            Me.Opacity = 0
            Form2.Show()
        End If
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Start()
    End Sub

End Class



Filed under: