Am working on a project and this time i want the use
to choose whether or not to show the splash screen.
If the user choose NOT to show a NO is registered in a hidden XML file
which tell the program not to show the splash screen when next running...

                If strGetStatus = "Yes" Then
                    frmMainMenu.helHideWelcomeScreen.Text = "Hide Welcome screen"
                     frmMainMenu.helHideWelcomeScreen.Text = "Show Welcome screen"
                End If

But since i have selected frmSplashScreen as my startup form
it still show even if the user doesn't want it to.

NB: In other words how do i disable/able splash screen in a project?

Recommended Answers

All 2 Replies

Make your other form the main form and add a custom settings variable at the user level then do

Public Class frmMain

    Private Sub frmMain_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

        If My.Settings.ShowSplash Then
        End If

    End Sub

End Class

Public Class frmSplash

    Private Sub btnDisable_Click(sender As System.Object, e As System.EventArgs) Handles btnDisable.Click
        My.Settings.ShowSplash = False
    End Sub

End Class


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.