Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-13-2005, 06:31 AM   #1
Solid State Member
 
Join Date: Aug 2005
Posts: 8
Default Need help in VB.Net programming

Hi!

I got a school assignment to do a roulette program. I have it almost ready but one thing remain.

If i have a variable result that contains a number lets say 5, how do i get the 5 to show in the textbox.
__________________

ZeroX is offline   Reply With Quote
Old 09-14-2005, 08:27 PM   #2
Solid State Member
 
Smith2003's Avatar
 
Join Date: Sep 2005
Posts: 9
Default

by using the property Text for the TextBox element.

suppose the name of your Textbox element is TextBox1 then you can show the value of the variable named result in the Textbox by:

TextBox1.Text = result
__________________

Smith2003 is offline   Reply With Quote
Old 09-15-2005, 11:40 AM   #3
Solid State Member
 
Join Date: Aug 2005
Posts: 8
Default

Thx for the help!!!

It was too easy for me to figure out :P
ZeroX is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0