What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Question regarding WPF, Images, and ArcheBuddy

SolSun

New Member
Joined
Jul 25, 2015
Messages
3
Reaction score
0
I created a gui that uses several different png images in xaml, the gui works fine without being connected to Archebuddy. Once connected to ArcheBuddy, it gives xamlparse errors and crashes ArcheBuddy. I narrowed the problem down to having to do with the images, or maybe resources.

So I now ask: How do you use an image in a wpf gui within Archebuddy without crashing ArcheBuddy?
 
A work around would be to use a image url so you upload all the images on a website for example picload.org and then jsut link to those images. You could also load the images as soon the form is shown. As an event from the form (OnFormShown) or sth like that.
 
Code:
... <BitmapImage x:Key="Icon_Enabled" UriSource="pack://application:,,,/Resources/icon_interaction04.png" /> ...
in a ResourceDictionary doesn't work.

Code:
<Image x:Name="imageNormal" Opacity="1" Source="/Resources/icon_interaction04.png" />
doesn't work.

I've thought about making a static class but I will have to research how to use BitmapImage programmatically.

Something else that may be the problem: Where do I get the location of the plugin dll from, in order to locate the images?
 
do you still need help with this? If yes write me a private message with your skype name ;)
 
Back
Top