I wish to make it where the opacity is the same when I quit the application and reopen it to be the opacity i set it from the trackbar value... hopefully these images help...
https://i.stack.imgur.com/JNhtJ.jpg
Private Sub TrackBar1_Scroll(sender As Object, e As EventArgs) Handles TrackBar1.Scroll
Me.Opacity = TrackBar1.Value * 0.01
Form1.Opacity = TrackBar1.Value * 0.01
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Label5.Text = TrackBar1.Value
// this is the Label showing the value of track bar 1 which you'll see in the images.
End Sub
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
My.Settings.Default("Settings") = "Some Value"
My.Settings.Default.Save()
//here is the settings in properties to save the value on exit however doesn't work... any ideas?
End Sub
End Class
Here are my current setting i set it for now till then
Private Sub TrackBar1_Scroll(sender As Object, e As EventArgs) Handles TrackBar1.Scroll
Me.Opacity = TrackBar1.Value * 0.01
Form1.Opacity = TrackBar1.Value * 0.01
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Label5.Text = TrackBar1.Value
End Sub
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
If Label5.Text = TrackBar1.Value Then
My.Settings.Opacity = TrackBar1.Value * 0.01
End If
End Sub
End Class