Hide Self on Form Load. How?

Hello Experts,

In VB6 inside of form load event I could simply type Me.Hide and hide the form from that screen and task manager. How do I accomplish the same in VB 2005?
LVL 1
donniedarko801Asked:
Who is Participating?
 
vadim63Connect With a Mentor Commented:
It doesn't work inside of form load event, but in form shown event - it does:

    Private Sub Form1_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
        Me.Hide()
    End Sub
0
 
broadbentCommented:
Exactly the same
0
 
vadim63Commented:
Thank you.
0
All Courses

From novice to tech pro — start learning today.