need help on save and getting setting ;;
ok i got the code its like
cboAddress.Text = GetSettings("lumawhole", "0", "1", 0)
SaveSettings "lumawhole", "1", "0", cboAddress.Text
tahst all i ahev fro the code nothing else whats wrong here?????
Printable View
need help on save and getting setting ;;
ok i got the code its like
cboAddress.Text = GetSettings("lumawhole", "0", "1", 0)
SaveSettings "lumawhole", "1", "0", cboAddress.Text
tahst all i ahev fro the code nothing else whats wrong here?????
'set your values for true and false
'in the true event( option button or whatever the user uses to
'do whatever based on how it was last saved.
'I use this to show or not show a nag screen
'if the value is true I show the nag screen
'if the user selected to not show it then it is false
'and my app bypasses the nag screen
'appname is LottoGenerator, nag screen is Splash, I check on startup of app
SaveSetting appname:="LottoGenerator", _
section:="Startup", _
Key:="Splash", _
setting:="True"
'=============================================
'in the false event
SaveSetting appname:="LottoGenerator", _
section:="Startup", _
Key:="Splash", _
setting:="False"
'==============================================
'in the load event
If GetSetting(appname:="LottoGenerator", section:="Startup", _
Key:="Splash") = "True" Then
'your code...do whatever
End If
'if it's false then leave it alone...no code