Ian Davies

Ian Davies

  • NA
  • 28
  • 1.5k

Image Path Ribbon WPF

Nov 5 2020 9:34 AM
Hi.
 
I am putting together a main menu using WPF and a fluent ribbon. I have the ribbon functioning apart from the images where I am running into an issue.
 
All my icons are in an images folder and have been added to the resources section. If I use the full file path c:/... etc the image shows, however I need to publish the application to use on a different workstation so that path will not work.
 
I have tried "\images\timesheet.png" but this does not work.
 
I am using Visual Studio 2019.
 
If anyone can help I would be very greatful. Many thanks 

Answers (2)