Dont Show on Startup

I am trying to implement a form that has a checkbox on it where the user can click (Don’t show on Startup) on the form and have the system remember the setting for next time.

Whats the best way to do this,? I am thinking of storing in a database and then checking the database everytime (or is it better to use the Windows registry etc)

Any help is appreciated

That’s the correct approach.

It does depend on whether this is a login screen or not as you won’t be able to authenticate before you check the database.

Traditionally this would be done with a cookie on the web, but it’s rare for it to last more than a few hours without some other sort of authentication going on.