Hi all
Can anyone help me to solve this problem.
In my application I have two forms, the main application form and a second form, containing a number of images, allowing me to choose a background image tile for the main form.
I would like to store the full image path in a my.settings string so that when the application is run again the chosen background image is loaded automatically.
My problem is that the images on the second form are from my.resources. If I try code such as:
I get the following error:Code:My.Settings.selectedbackground = My.Resources.BlueSilk9
How can I get the full path of an image stored in my.resources which I could then place into my setting?Code:Value of type 'System.Drawing.Bitmap' cannot be converted to 'String'.
Thanks in advance.





Reply With Quote