It's been a while since I have used VB and I remember being able to save something when the program closed and when I opened the program up again it would be exactly like I left it. I think I used settings for this.
Anyways, I want to be able to click on text and turn it into a different color, and then when the program closes it save that color and when I open the program up again the color will be the same.
For instance, I have red text and clicking on Label1 will change the text to green. Now, when I close the program and open it up, how do I make the green text stay? Thank you very much!
Anyways, I want to be able to click on text and turn it into a different color, and then when the program closes it save that color and when I open the program up again the color will be the same.
For instance, I have red text and clicking on Label1 will change the text to green. Now, when I close the program and open it up, how do I make the green text stay? Thank you very much!
Code:
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
Label1.ForeColor = Color.Green
End Sub