473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Console.write

Hi how can I get the following code to go into a listbox instead of being written into the console.
Thanks

CODE:

Console.WriteLine( _
"{0} | {1} | {2} | {3}", _
message.UniqueId, _
message.From, _
message.To, _
message.Subject)
Aug 9 '10 #1
1 2011
Frinavale
9,735 Expert Mod 8TB
What type of application are you working with?
Desktop, ASP.NET, console?

If it's an ASP.NET application check out this MSDN documentation on the ListBox Web Server Control.

If it's a desktop application, check out this MSDN article on the ListBox control.

-Frinny
Aug 9 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Unemployed VC++ guy | last post by:
It seems that there is basically no difference between the Console.Write() & String.Format(), other than the output being sent to the console output stream instead of a string. Is this accurate? ...
2
by: Boba | last post by:
Hi, I'm programming a WinForm application. I would like to enter commands that will send output that will help me to locate bugs in the future. I know that there is a way to send output by...
1
by: Yogi_Bear_79 | last post by:
Ok, I hate to ask this, but I can't find the window that shows my console.write results when I run my program in debug mode. By default when I go to Tools > Start the window no longer appears at...
1
by: noleander | last post by:
Hi. I've got a C++ program written in Visual C++ 2003. The program is trivial, created with the Program-creation wizard: used the .NET "Form" template. The program has a trivial...
6
by: Jim Heavey | last post by:
Realizing that I can use Debug.write to write a message to the "output" window, the Console.Write is accepted when keyed in, but where does the output go?
1
by: James | last post by:
vb.net 2003 - console program i've read a array of machines and i wishes to display on console the machines name on the *same line.* How do i do this ? This is what i want say i got a text...
1
by: calmzeal | last post by:
hey,guys, try this snipper(in c#): Console.Write("The 1st string\0 string behind"); Console.Write("The 2nd string"); this codes writes 2 string, but the 1st string has been cut off by '\0'...
5
by: Larry Rebich | last post by:
I notice a lot of VB 2005 samples use Console.Write instead of Debug.Print. How do I view the Console.Write output. In what window? Larry Rebich
5
by: simonl | last post by:
I'm messing about with a console app that does some tedious data processing, I want to show activity in the console window. What I wanted was - followed by \ followed by | etc; ie a bar...
2
by: tshad | last post by:
I am using VS 2005 and just built a simple application that opens an xml file and I want to put the table names on the console. But when I try to use Console.Write (or Console.Readline), I get an...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.