|
-
Dec 13th, 1999, 01:43 PM
#1
Thread Starter
Member
I have frmSplash,frmMain,frmAbout
In frmAbout I have 2 option buttons
1=Display Splash 2 = Hide Splash
I would like the user to have the ability
to hide the slash screen if they choose to.
How do I do this...Please be explicitly clear with code as I am new to these particular instances of VB.
Thank You
-
Dec 13th, 1999, 01:52 PM
#2
Lively Member
'Put this where you would save the setting:
SaveSetting app.EXEName, "Options", "Splash", Check1.Value
'Put this where you would get the setting:
x = GetSetting(app.EXEName, "Options", "Splash", True)
'x = GetSetting (appname as string, section as string, key as string, setting as string) (The setting is the default, if there is no value for that key)
-
Dec 13th, 1999, 07:04 PM
#3
Thread Starter
Member
The first part of your code I put in the option button or check button that says load splash always...
Then:
Your second code (where I look) below..the 2nd last line is commented out..am I to use only one line and if so does it go in the form load of the splash screen as that is the first sceen accessed.
I tried the one line and it gives and erron on the App.MyName.exe
I assume if x= 1 then I unload frmSplash
and load frmMain.
'Put this where you would get the setting:
x = GetSetting(app.EXEName, "Options", "Splash", True)
'x = GetSetting (appname as string, section as string, key as string, setting as string) (The setting is the default, if there is no value for that key)
Thank you.
[This message has been edited by Juillet (edited 12-14-1999).]
[This message has been edited by Juillet (edited 12-14-1999).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|