Splash screen

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top