Splash screen

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I created a splash screen using a .bmp file with the same
name as my database and putting it in the same directory
as the database. It works great. Instead of the Access
splash screen, mine pops up just like I intended it to do.

Here's my problem: On fast PCs, the splash screen only
stays up for less than a second (not what I intended).

Any way I can slow it down? I suppose I could create a
startup form and embed the .bmp file in the form - would I
use the OnTimer property to display it for x number of
seconds? Thanks.

Ken
 
Hi Ken,

Thats what I would do, is embed in a Form.
If you do this you don't have to worry about a Timer
though. The Form after it opens won't do anything util
you tell it to do something, so you will have total
control.

If you want to use the Timer Event...

You first need to set the "TimeInterval" (how many
seconds to wait in between before each TimeEvent is
triggered. Put in the (Splash Screen) Form Load Event.


Private Sub Form_Load()
'Note: # is in Miliseconds, so for 5 seconds use 5000

Me.TimerInterval = 5000

End Sub


Then the Timer Event will be triggered after 5 seconds.
What ever code you put inside will be triggered

Private Sub Form_Timer()

'do something else

End Sub


I hope this helps,
Jeff
 
Back
Top