Hi all,
I've a project called G.S.S. There's a 2 forms in the G.S.S and a checkbox on the form2. I added these codes:
But it's not workingCode:Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Form2.CheckBox4.Checked = My.Settings.chk End Sub AND Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing My.Settings.chk = Form2.CheckBox4.Checked End Sub![]()
![]()
Then I created an another example project to try these on, added 2 forms, a checkbox on form2 and wrote same codes. I wondered when I run the app because it's running perfect. It saves the settings![]()
So what's wrong with my G.S.S project?
(Sorry because of my terrible English)




Reply With Quote