April 4, 2008
(Or minimize and hide form during startup..)
As per the title above.. perhaps for whatever reason, you’re trying to do it. Cause there was a time I need to do it.
Just add this line to your form_load
Me.WindowState = FormWindowState.Minimized
Me.Hide()
What it does is, everytime your form loads, it will be minimized and hidden. For me, the only way to see the form, is to click on the ‘Show’ button on the system tray. Because I even set the form’s ShowInTaskbar property to false.
Hope it helps somebody.
Entry Filed under: Technology. Tags: hide form, minimize form, system tray, vb.net.
1.
Yannick | January 13, 2009 at 11:01 pm
Yeah, it did help me, thanks!
2.
ricohsanusi | June 18, 2009 at 4:41 am
yup, thanks. it helpfull..