I'm writing a small program and it uses a Splash screen. This program will be accessible on various PC's. I was attempting to make it optional for users with powerful PC's. The following code is what I have and it yields an runtime error. This option is a ToolStripMenuItem. Is it possible to save this setting?
VB.NET Code:
If My.Application.SplashScreen.Enabled = True Then Me.EnableSpToolStripMenuItem.Checked = False My.Application.SplashScreen.Enabled = False Else Me.EnableSpToolStripMenuItem.Checked = True My.Application.SplashScreen.Enabled = True End If




Reply With Quote