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

  • Home
  • SEARCH
  • 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 6679475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:21:49+00:00 2026-05-26T04:21:49+00:00

I’m writing an InformationKiosk WPF application that displays different full screen slides (or views),

  • 0

I’m writing an InformationKiosk WPF application that displays different full screen slides (or views), rotating through each one for pre-determined lengths of time. Stage 1 is complete… this enables the users to cycle through web pages that they have chosen and works perfectly.

Stage 2 is where I am stuck. I am required to now display slides from external WPF applications (of which I have full code access) and I’m having real problems with this.

I added the other application’s dlls as references in the InformationKiosk application, but I got a number of errors because of styles that were not found. I think the problem is that the required view from the other application uses styles from the App.xaml file and an external stylesheet.

I managed to load the styles from the external stylesheet file using the following in a ResourceDictionary.MergedDictionaries element:

<ResourceDictionary Source="pack://application:,,,/ProjectName.Views;component/Support/
SupportQueueItemStyle.xaml" />

The problem is that I can’t load the App.xaml file from the other application because we can’t have 2 App.xamls in one application. Therefore, when running the application I keep getting the XamlParseException “Set property ‘System.Windows.FrameworkElement.Style’ threw an exception.” (This means that it can’t find the styles).

So how is this senario supposed to be implemented in WPF/MVVM? Surely there must be a better way than copying the code from the required views into the InformationKiosk application. I also tried loading the external application assembly using the following code:

Assembly assembly = Assembly.LoadFrom(@".\AssemblyName.exe");

While it loads ok, I couldn’t find any useful properties in assembly and don’t really know what to do with it and if I can even get what I want using this method.

If you can help, please do.
Many thanks.

  • 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-26T04:21:49+00:00Added an answer on May 26, 2026 at 4:21 am

    Make a shared assembly (.dll) We use that for our products and its working very well. We have like 4-5 WPF based shared assemblies. In Visual Studio we just used the “WPF Custom Control Library” instead of an App.xaml you have a Themes/Generic.xaml which will be loaded automatically if you add the reference to your main executable.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I am trying to loop through a bunch of documents I have to put
I need a function that will clean a strings' special characters. I do NOT
I am writing an app with both english and french support. The app requests
I'm trying to create an if statement in PHP that prevents a single post

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.