'I use this to show or not show a nag screen
'in the true event( option button or whatever the user uses to
'do whatever based on how it was last saved.
'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