I am using a mdiform. My program should show splash screen which not a mdi-child for few seconds then disapear and then loading the mdiform. The splash screen apears then disapear and the mdiform does load or apear. Can anyone help.
Try adding a Timer control to the splash screen and set the Interval property for the number of milliseconds to display the form (number of seconds * 1000).
In the handler for the Timer event, hide and then unload the splash screen.
For example:
Private Sub Timer1_Timer()
frmSplash.Hide
Unload frmSplash
End Sub
In the handler for your startup form_load event, show the splash screen.
For example:
Private Sub MDIForm_Load()
frmSplash.Show
End Sub
This worked quite well for me when I tested it.
Hope this helps,
Pete
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.