Splash screen while .NET Framework loads

Posted on 2006-04-21
Last Modified: 2008-03-04
I have a managed C++ application. As we know - The JIT step takes a long time when the application is first loaded. Is there anyway to show the user a splash screen during that time?
I was thinking to create another, not-managed, exe that will show the splash screen and launch the managed (.NET) application. I would like to ask for a .NET expert opinion about my idea. Is there a more elegant way to avoid my users staring at an empty screen?
Question by:ronron771
    LVL 28

    Accepted Solution

    if you ar eusing VS2005

    To add a splash screen template
    Select a project in Solution Explorer, and then on the Project menu, click Add New Item.

    In the Add New Item dialog box, select the Splash Screen template, and then click Add. The template
     is added to your project.

    To specify a splash screen
    Select a project in Solution Explorer, and then on the Project menu, click Properties.

    Click the Application tab.

    Under Windows application framework properties, in the Splash screen: list, click the form
    LVL 30

    Assisted Solution

    by:Alexandre Simões

    You mean you want to have the splash right after the exe is clicked to run right?
    Framework can take a couple of seconds to run on some machines.

    1st- I don't think it worths the effort.
    You can show the splash normally and it will show not intantly but will take a couple of seconds max.

    2nd. On really slow machines you could experience errors like the user trying to run the application again while one process is already started.
    On these cases you have other ways to prevent multiple instances of the same app.

    3rd. You're right, if there's a worthy way, the splash must be unmanaged and then you'll have to sync 2 objects one managed and other unmanaged.

    Think about that...
    How much time does it take now to run?
    Did you tried a simple splash screen usage?

    Alex :p
    LVL 30

    Expert Comment

    by:Alexandre Simões
    Ok to me...

    Alex :p

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Normally a window is moved by clicking on the caption bar and dragging. You may want your user to be able to move borderless forms or move a form by clicking anywhere in the form without the limitation to the caption bar. There are many ways to do i…
    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now