Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Splash Screen will not load completely

I need to display a splash screen while the update queries are processing.  When I call the form only part of it displays.  It is like it is stuck!   How can I delay so that the full screen shows before the updates start.  Thanks



Dim frmSplash As New frmSplash
            Dim myParent = Me.MdiParent
     
            'replace Form1 with type of the MDI form
            With frmSplash
                .MdiParent = myParent
                .Show()
            End With
0
running32
Asked:
running32
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Call DoEvents() after Show():

            Dim frmSplash As New frmSplash
            With frmSplash
                .MdiParent = Me.MdiParent
                .Show()
            End With
            Application.DoEvents()
            ' ... more code ....
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now