Solved

VB.NET question

Posted on 2007-03-19
3
215 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] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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