Computing.Net > Forums > Programming > vb output

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vb output

Reply to Message Icon

Name: intrepid_dave
Date: June 28, 2005 at 03:26:27 Pacific
OS: xp pro
CPU/Ram: 1.4 P M
Comment:

i have a small .net program that is a form with some buttons. The output of the bottons are text displayed on msg boxes. However i want the text to be output on the same form, perhaps on another panel or something. I'm new to vb .net and would appreciate any help and suggestions on how i can display my results on the same form. What about sending the info to a file too, like word doc or something. Is a print function also available for forms?

Thanks for any help

Dave :)





Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: June 28, 2005 at 08:15:34 Pacific
Reply:

Not sure what you mean by the output form Button. A button performs as function and perhaps that function generates output.

If you want any text displayed on a form, put a text box or a label on the form and put the text in there.

Text1.text = "You text goes here"

Label1.caption = "More text here"

Text can be a literal string or a variable.

The main difference between a label and a text box is that a text box can be changed, a label can't.

Stuart


0

Response Number 2
Name: Sci-Guy
Date: June 29, 2005 at 04:11:13 Pacific
Reply:

"The main difference between a label and a text box is that a text box can be changed, a label can't."

Not quite right. A button (or a timer or a mouse click..etc.) can be used to change the caption of a label or even to change a labels visible property from true to false & vice versa.


Please let us know if you found someone's advice to be helpful.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


C program creator Batch File Directory List...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vb output

vb output alignment www.computing.net/answers/programming/vb-output-alignment/9673.html

VB...output to text HELP! www.computing.net/answers/programming/vboutput-to-text-help/4624.html

Batch File To Delete Line www.computing.net/answers/programming/batch-file-to-delete-line/15539.html