Click here to Skip to main content
13,140,231 members (49,401 online)
Rate this:
 
Please Sign up or sign in to vote.
How to hide label in vb.net window application ,via page load
Posted 19-Feb-13 16:14pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Label1.Visible = False
End Sub
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Suppose You have a label that ID is Label1 then you should write
like
Label1.Visible="false"
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100