I may have to put a string or something then when the form loads catch to see if there was a string that matches what I wanted to be like the resource file. So for example,
dim ResourceImageSelected as string ' When form is closed or whatever. if radiobutton1.checked then ResourceImageSelected = "Demon" my.settings.PrankImage = ResourceImageSelected end if ' then when the form loads. if my.settings.prankimage = "Demon" then radiobutton1.checked = true end if
Something like that? Or is there any way I can take the resource file string and save it into my settings? The other version I wrote is long but doable. Any sugguestions? Thanks!
OH, so far when the program saves it I have it like this:
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged PictureBox2.Image = My.Resources.prnk.demon1 browseimgs.Enabled = False imageselected = PictureBox2.Image.ToString End Sub
The browseimgs.enabled toggles whehter to enable the browse image for customizing the picture. So until it reaches the Custom radio then it changes to True.
Any help? Thanks!
-Paul

New Topic/Question
Reply



MultiQuote




|