JVerdaasdonk
Instructor
Hi,
In this forum I found some code to make a splash screen.
This is the code: (thanks to the members who made this available!)
In this UserForm I want to play some kind of animation (movie)
At work we have some programs that use similar splash screens, but I’ve not got a clue on how to build this.
I think I need some particular control in witch I can load the animation. (should this be Avi or..?)
And then I think I need some code that will fire the animation and let it stop as soon as the splash time is past. (or does this happen anyway?)
I’ve found some controls that could contain an mpeg or avi format, but I wasn’t able to get it to work. Word crashed on every single time I tried.
Could someone tell me what I need? (please in simple terms, this is a new topic for me)
Thanks in advance,
Joost Verdaasdonk
In this forum I found some code to make a splash screen.
This is the code: (thanks to the members who made this available!)
Code:
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub UserForm_Activate()
DoEvents
' Set the display time in milliseconds
Sleep CLng(5000)
Unload Me
End Sub
At work we have some programs that use similar splash screens, but I’ve not got a clue on how to build this.
I think I need some particular control in witch I can load the animation. (should this be Avi or..?)
And then I think I need some code that will fire the animation and let it stop as soon as the splash time is past. (or does this happen anyway?)
I’ve found some controls that could contain an mpeg or avi format, but I wasn’t able to get it to work. Word crashed on every single time I tried.
Could someone tell me what I need? (please in simple terms, this is a new topic for me)
Thanks in advance,
Joost Verdaasdonk