ssi49
asked on
Reading from Registry 80 Points
Hi, got this code from experts:
Private Sub DoIt_Click()
DoIt.Checked = Not (DoIt.Checked)
SaveSetting "MyApp", "Startup", "MenuItem", DoIt.Checked
End Sub
Private Sub Form_Load()
DoIt.Checked = GetSetting("MyApp", "Startup", "MenuItem", True)
End Sub
My question is how do i read the registry: GetSetting("MyApp", "Startup", "MenuItem", True) to determine if the value is "True" and if it is "True" i would like my program to make a message to show this ?
If anyone could show me how to do this with a little working code, then i have 80 points for you !
Thanks
ssi49
Private Sub DoIt_Click()
DoIt.Checked = Not (DoIt.Checked)
SaveSetting "MyApp", "Startup", "MenuItem", DoIt.Checked
End Sub
Private Sub Form_Load()
DoIt.Checked = GetSetting("MyApp", "Startup", "MenuItem", True)
End Sub
My question is how do i read the registry: GetSetting("MyApp", "Startup", "MenuItem", True) to determine if the value is "True" and if it is "True" i would like my program to make a message to show this ?
If anyone could show me how to do this with a little working code, then i have 80 points for you !
Thanks
ssi49
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Did just what i wanted it to do ! Thank You and Sorry i didn't get back sooner, had to run an errand.
ssi49