Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5998805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:27:30+00:00 2026-05-23T00:27:30+00:00

I need to have a PNG (with transparency) as a splash screen. The transparent

  • 0

I need to have a PNG (with transparency) as a splash screen. The transparent portions of the image should be clear so the user can see any windows behind it (or desktop).

I also need to display the splash screen for 5 seconds (the contract specifically says 5 seconds) and it can’t be any shorter. I am aware of the build property in VS 2010 but the splash screen comes and goes too quick (less than 5 seconds).

What can I do to make it stay 5 seconds (approximately)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:27:30+00:00Added an answer on May 23, 2026 at 12:27 am

    I had a similar problem, where i couldn’t use the built-in splashscreen option, on a WPF project.

    That project is now open source, you have have a look here: https://code.google.com/p/theomniscientchimp/

    It’s an auto-updater (there are a few things you don’t need i guess).

    This is the minimum you should need:

    WPF side:

    <Window x:Class="TheOmniscientChimp.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:local="clr-namespace:CustomXaml"
            Icon="SC2_Replay_Monkey.ico"
            Title="MainWindow" Height="256" Width="456" Background="#00005555" AllowsTransparency="True" WindowStyle="None" WindowStartupLocation="CenterScreen" >
            <Grid Width="Auto">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />           
            </Grid.RowDefinitions>
            <Image Name="splashScreenImage" Stretch="Fill" Grid.Row="0" />
        </Grid>
    </Window>
    

    C# side (code behind):

    /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
        {
            public MainWindow()
            {
                InitializeComponent();
    
                BitmapImage splashScreenImageSource = new BitmapImage();
                splashScreenImageSource.BeginInit();
                splashScreenImageSource.UriSource = new Uri("Your_Image.png", UriKind.Relative);
                splashScreenImageSource.EndInit();
    
                splashScreenImage.Source = splashScreenImageSource;
            }
    
            public void AsynchronousExit()
            {
                BackgroundWorker worker = new BackgroundWorker();
                worker.DoWork += new DoWorkEventHandler(worker_DoWork);
                worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted);
                worker.RunWorkerAsync();
            }
    
            private void worker_DoWork(object sender, DoWorkEventArgs e)
            {
                //Makes the thread wait for 5s before exiting.
                Thread.Sleep(5000);
            }
    
            private void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
            {
                Environment.Exit(0);
            }
        }
    

    Tell me if you need help to adjust.

    FB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an transparent .PNG image that I need to convert into an .CUR
I have a PNG image with an alpha channel (i.e. transparency), and I need
I have this red PNG image that has variable transparency, but I need to
I have a slow connection that I need to send a PNG image over
I need to make the program which have one form that contains PNG image
I need to draw a .png image on an UIView. I have no clue
I have a single .png image with several icons on it (with transparent areas)
I have a scenario where I need a transparent background image but I have
I have a transparent png over a slideshow box, settings use z-index. I need
I need to retrieve a png image from the Internet. I have the correct

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.