Select splash screen resource on application sturtup

Stanislav Kholodov 1 Reputation point
2021-08-26T14:55:45.723+00:00

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?

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-08-26T15:14:05.63+00:00

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

    Comments

    • 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.