I am making a program that needs to hide itself just after starting.
I have been doing this I am sure in VB 2008, 2010.
But in VS 2015, Me.Hide
does not seem to work. I do have pretty good knowledge in VB.NET, but I just can't find a solution to this. Googled, looked in the code etc.
Here is the code:
Private Sub Main_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Hide()
End Sub
Also when I put it into a timer it seems to work. But that is not my solution since I need to show the form sometimes.