Computing.Net > Forums > Programming > How do I hide a form on load vb.net

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

How do I hide a form on load vb.net

Reply to Message Icon

Original Message
Name: Isabelle
Date: November 27, 2002 at 06:16:41 Pacific
Subject: How do I hide a form on load vb.net
OS: Win 2000
CPU/Ram: 256
Comment:

Here is what I want to do. I want that when I start my project in vb.net that the form is invisible when it loads.
I tried me.hide() it works on a button or any component, but it doesn't work on the form load. I want my form to be invisible when it stats.


Report Offensive Message For Removal


Response Number 1
Name: tru
Date: November 27, 2002 at 08:28:26 Pacific
Reply:

Hmm, is there no visible property to set in the property window?

When you put Me.Hide() in the Form_Load does it give an error or it just doesn't hide it?


Report Offensive Follow Up For Removal

Response Number 2
Name: Isabelle
Date: November 28, 2002 at 05:42:44 Pacific
Reply:

It juste don't hide, I don't get any error


Report Offensive Follow Up For Removal

Response Number 3
Name: HiJinx
Date: November 29, 2002 at 03:22:07 Pacific
Reply:

Just a shot in the dark (I don't have .Net), but I'd often find in VB6 that certain things wouldn't work unless I put them into the form_activate event instead.

If it works, depending on your program, you may have to use a flag variable to tell the difference between subsequent form_activates and the initial one so that you don't hide it when you don't mean to.


Report Offensive Follow Up For Removal

Response Number 4
Name: Isabelle
Date: November 29, 2002 at 04:31:37 Pacific
Reply:

I have resolve the problem. I worked on my project design more and notice that I need a welcome form to apear at the start. So I don't have the problem anymore.

Thank you every one for your help


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home



Results for: How do I hide a form on load vb.net

How Do I make a login Box?
    Summary: How Do i make a simnple login box for m application? I am using Visual Basic 2005 Express.. I want the user to be administrator and the password to be sharks. Can Someone help? Curiousity only injure...
www.computing.net/answers/programming/how-do-i-make-a-login-box/14714.html

How do I create a program
    Summary: How do I create a program that will do the following. Enter (pause for 4 seconds) backspace (pause for 2 seconds) Tab, Tab (repeat from beginning) ...
www.computing.net/answers/programming/how-do-i-create-a-program/7750.html

How can I make a misc bootable cd?
    Summary: Subject: [3-15] How do I make a bootable CD-ROM? 98% of the population is asleep. The other 2% are staring around in complete amazement, abject terror, or both. ...
www.computing.net/answers/programming/how-can-i-make-a-misc-bootable-cd/13516.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History






Data Recovery Software