Solved

VB.NET question

Posted on 2007-03-19
3
216 Views
Last Modified: 2013-11-26
In VB.NET what does the following script mean?  Is it saying space and if so why would it it be used this way?  Label1.Text = " "
Any assistance offered would be greatly apreciated.  
0
Comment
Question by:regsamp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18751887
Yes, it's setting the Label1 control's text property to a single space...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18751894
"why would it it be used this way"

Hard to say based upon just that single line of code.
If you're wanting the control to simply be 'blank' then you could just as easily do it using

Label1.Text=""
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18752661
Happy to help - thanx for the grade. :^)
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question