Select splash screen resource on application sturtup

Stanislav Kholodov 1 Reputation point

It is possible to set image build action as SplashScreen, however what if I need select splashcreen resource base on some condition, for example registry value. Is it possible to achieve?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,694 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,479 questions
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
778 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,286 Reputation points

    Sure you can, there are plenty of resources on the web e.g. set dynamic image, loading a splash screen.


    • In some cases what you find on the web may need tweaks dependent on version of WPF/Visual Studio you are working with
    • I would steer away from the registry unless this is for you alone as many users and organizations will reject reads to the registry no matter what code you write as code does not circumvent AD policies.
    0 comments No comments