ok, so i have 3 times, to each change the rate that the progressbar progresses...

and at the end, i want it to click on the form to load the rest of the app...

and i get an 'object reference not set to an instance of an object'..

VB Code:
  1. Private Sub frmSplash_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2.         tmrLoadDB.Enabled = True
  3.         lblLoadingDB.BringToFront()
  4.     End Sub
  5.  
  6.     Private Sub tmrLoadDB_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles tmrLoadDB.Elapsed
  7.  
  8.         progBarMain.Value = progBarMain.Value + 1
  9.         If progBarMain.Value >= 45 Then
  10.             tmrLoadDB.Enabled = False
  11.             tmrLoadForms.Enabled = True
  12.         End If
  13.  
  14.     End Sub
  15.  
  16.     Private Sub tmrLoadForms_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles tmrLoadForms.Elapsed
  17.         lblLoadForms.BringToFront()
  18.         progBarMain.Value = progBarMain.Value + 1
  19.         If progBarMain.Value >= 150 Then
  20.             tmrLoadForms.Enabled = False
  21.             tmrSecPol.Enabled = True
  22.         End If
  23.     End Sub
  24.  
  25.     Private Sub tmrSecPol_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles tmrSecPol.Elapsed
  26.         lblLoadSecPol.BringToFront()
  27.         progBarMain.Value = progBarMain.Value + 1
  28.         If progBarMain.Value = 200 Then
  29.             tmrSecPol.Enabled = False
  30.         End If
  31.  
  32.     End Sub
  33.  
  34.     Private Sub frmSplash_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Click
  35.         If tmrLoadDB.Enabled = False And tmrLoadForms.Enabled = False And tmrSecPol.Enabled = False Then
  36.             Dim loginForm As Sparticus.frmLogin
  37.             loginForm.Activate()
  38.         End If
  39.     End Sub

thanks everyone, Justin