Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splash Screen

Status
Not open for further replies.

Lobmeister

Programmer
Jul 25, 2001
16
GB
i have just worked out how to replace the standard splash screen in Access 97 but do not know how to create a PAUSE so that the splash screen is visible for a tangible amount of time b4 the database loads up - at the moment it only shows for a fraction of a second !!! - Any help please!!!
 
Have you Tried setting the timer interval on the form to about 2000, then ontimer event close the form?
 
Hi, Lobmeister!

Use these codes on your Splash Screen form:

Private Sub Form_Open(Cancel As Integer)
Me.TimerInterval = 1000 'Time in miliseconds
End Sub
'-----------------------
Private Sub Form_Timer()
Dim strMeName As String
strMeName = Me.Name
DoCmd.OpenForm "StartForm"
DoCmd.Close acForm, strMeName
End Sub


Aivars
 
That would work if I used a startup form as the splash screen - i could do that, but i'd still see the standard access splash when the application loaded - it's that which i wish to replace
 
Ah, right. It's the BMP splash screen you've replaced...Apart from running the prog on REALLY slow machines, i don't think you can pause that.
 
Just a thought.... using a BMP file to replace the splash screen. Cant you use the same file on a form set to the startup form, then use the on click event to close the form when the user is done reading it?

Havent tried it here locally yet.... dont have a decent bmp to use for a splash screen

(If I am all wet behind the ears, please feel free to let me know :) )
 
Aberent thought. Replace the "Std" splash scerrn with a "Blank" bit-map with the bsckground set to Transparent. (Then it will show - but not be seen?). Proceed to use you own splash screen with the timer?

MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top