I have created a splashscreen that starts up when my application first starts and I've set it to open an MDIParent form after the delay. I have some user settings that are required for the user to set the first time the application is started.
I can set the "options" form to display when the MDIParent form is displayed, but I only want it to display the first time the user starts the application.
What would be the best way to go about accomplishing this?
1 reply to this topic
#1
Posted 28 April 2011 - 11:29 AM
|
|
|
#2
Posted 28 April 2011 - 11:36 AM
Seems I just needed to sit and think about it:
I set a user settings: my.settings.firstrun (boolean) default = true
then on the MDIParents load event:
I set a user settings: my.settings.firstrun (boolean) default = true
then on the MDIParents load event:
If My.Settings.firstrun = True Then 'CODE HERE - THIS IS THE FIRST RUN My.Settings.firstrun = False My.Settings.Save() ElseIf My.Settings.firstrun = False Then 'CODE HERE - THIS IS NOT THE FIRST RUN End If
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









