Hi,

I currently using the below code to assign image from Resources to menu.

rm = new RibbonMenu();
rm.Text="Search";
rm.LargeImage = Properties.Resources.search;

can i replace "Properties.Resources.search" with a variable? something like this:

string imgName="search";
rm = new RibbonMenu();
rm.Text="Search";
rm.LargeImage = imgName;

Please help.

Thanks