title: Form.show and Form.Hide time interval Vb.Net
body: <p>Hi a good day to all of you I have this program that is a trivia game in which I want to put a  form as a splash screen by having a form.show() and form.hide and I want to ask how can I set the form by showing it for atleast 3 seconds and hide it again? Thanks in advance</p>
  
  <pre><code>Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
      If Label1.Text = "Who invented the airplane?" And TextBox1.Text = "third" Then
  
          Label2.Text = (Label2.Text) + 1
  
          correctmsg.Show()
          correctmsg.Hide()
  
          Label1.Text = "Who invented the telephone?"
          Return 'Don't do any more checks this time around
  
      ElseIf Label1.Text = "Who invented the airplane?" Then
          'Reason ElseIf (In case the question was 'who invented the telephone' then the first errormessage should not not be shown)
          wrongmsg.Show()
          Return
  
      End If
  </code></pre>