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

Sachin SinghRank #66 · 26.2K reputationPosted Nov 5, 2020, 6:19 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Nov 5, 2020, 4:58 AM EST