Join us at IRC!
Ideas are far more powerful than guns.
Thursday, May 24, 2012
Navigation
Members Online
Total Online: 41
Web Spiders: 18
Guests Online: 37
Members Online: 4

Registered Members: 70203
Newest Member: monkiman
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

RE: Need help. Displaying variables inside of a label

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 02-02-06 10:48
first off, make sure you have the right name for the label.

secondly, make sure you Dim the variable.


Dim word As String

word = "new label caption!!"

Label1.Caption = word




Author

RE: Need help. Displaying variables inside of a label

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 02-02-06 12:35
what version of VB are you using?


Author

RE: Need help. Displaying variables inside of a label

GreyFox
Member



Posts: 143
Location:
Joined: 23.09.05
Rank:
HBH Guru
Posted on 02-02-06 22:44
I don't have that much of experience working with vb.net and i don't like it but i think in vb.net it's not like
"Label1.caption" anymore, i think it's changed to sth like "Label1.text" just like a textbox.
again, i'm not sure but try it and see if it works ;)

GreyFox


Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.