I'm using VS2005.
I've added a pictrure to the resource file.
And show it on the button
The default way to set the image is:
dynpSplitButton.Image = global::Health_Proc.Properties.Resources.AO;
However, I want to set the name AO dynamiccaly,
I mean, I need a function which takes a vairable and returns me the image/object
dim img as string = "AO"
dynpSplitButton.Image = global::Health_Proc.Properties.Resources.getResourceByName(img) <= This function is imaginary.