0

Hi All,

I have a spash screen on my project, this isn't just for effect but to read data from a file
before my main project is started.

the issue is that i cant seam to close my splash screen.....

here is the code from my splash screen.

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

               CheckConfigFile()
    End Sub

    Private sub Checkconfigfile 
            Me.txtMessage.AppendText("Checking Licencing information.")



        If _HDSN = _HDSNCHECK Then

            Me.txtMessage.AppendText("  - Licence Info correct" & Environment.NewLine)


            'Date & Licence Info correct, now what?
            Me.txtMessage.AppendText("All Settings Correct, Now What" & Environment.NewLine)
    mainform.show
    me.hide


        Else

            Me.txtMessage.AppendText("Please Contact Technical Support Error " & " " & _HDSN)

        End If

the issue is that mainform does show, but i cant close or hide the splash screen,
can someone point me in the right direction please?

3
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by Unhnd_Exception
0

Is your splash screen the startup form??? if so try to make it as visible= false....
if it is a start up form and u try to close the splash screen then the complete application will exit,,,

1

Hide your splash screen.

My.Application.SplashScreen.Hide()

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.