my.resources

VB.Net: Dynamically Select Image from My.Resources

I have a group of images in my My.Resources. I want to select select images to display dynamically at run time. How do I do this? 'Static (Compile time) Assignment UltraPictureBox1.Image = my.Resources.zoo_picture_1 'Dynamic (Runtime) Assignment UltraPictureBox1.Image = ??? ...

My.Resources in WPF XAML?

Hello! Is there a way to access My.Resources thru Xaml? Like this <Image Source="{Binding MyImage, Source={x:Static my:Resources}, Converter={StaticResource MyBitmapToImageSourceConverter}}" /> This is the error I get: \Application.xaml(122,36): error MC3029: 'my:Resources' member is not valid because it does not have a qual...

vb.net: Get to resources of a referenced project

I have a project which contains all custom controls and images; we'll call it projectBase. Now I have created a windows forms project (project1) that references projectBase. I need to access the embedded resource (images) of projectBase in project1. Any idea how i can pull this off? ...

Image source using project resource (WPF)

I added a bunch of images as project resources. Now i want to use them in my WPF application using the image control. How can I assign the resource to the source of the image control? ...