Re: Opening a form hidden by rowe_newsgroups
rowe_newsgroups
Mon Feb 25 08:13:29 CST 2008
On Feb 23, 12:10 am, Jack Jackson <jjack...@cinnovations.net> wrote:
> Be careful of systems with more than one monitor. What is off the
> display on your system might be visible on another display on someone
> else's system.
>
> On Fri, 22 Feb 2008 18:05:09 -0800, "RobinS" <rob...@imnottelling.com>
> wrote:
>
> >You can set the position of the form off of the display, like to the right
> >of the user's screen, then move it back when you want to show it. Works like
> >a charm for me.
>
> >If you do this, don't let the cat sit on the right side of the monitor, so
> >he's not harmed when he's hit by the form flying over there... ;-)
>
> >RobinS.
> >GoldMail, Inc.
> >------------------------------
> >"John" <J...@nospam.infovis.co.uk> wrote in message
> >news:%23GaxxtZdIHA.1184@TK2MSFTNGP04.phx.gbl...
> >> Hi
>
> >> I have searched for answer to this question on the net but surprisingly no
> >> clear answer has come up. How can I open a form hidden in vb.net?
>
> >> Thanks
>
> >> Regards
I usually send it to -10000, if they that many monitors than they
deserve to see everything :-)
But in reality, I haven't sent a form off screen since my VB6 days,
now I usually just toggle the opacity between 0% and 99% when I have a
reason to hide and show a form. I do agree with Armin that Sub Main is
a better choice if no interaction is required, or the OP could just
create a service depending on the purpose of the app. And in case
anyone's wondering, whenever I use opacity I only go to 99%, going to
100% causes a flicker because of the way Windows paints forms (it has
two modes, one for opacity and one for no opacity, switching between
the two will flicker the form on painting).
Thanks,
Seth Rowe [MVP]