Solved

Splash Screen will not load completely

Posted on 2006-10-20
1
136 Views
Last Modified: 2010-04-23
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
Comment
Question by:running32
1 Comment
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 17775533
Call DoEvents() after Show():

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Regex validation 2 25
VB.net Move a class from Solution Items to a project 2 26
SQL LINE CONTINUATION ISSUE 12 34
Store results in vb.net 3 23
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question