473,388 Members | 1,286 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,388 software developers and data experts.

How to print output in the windows Forms -C#

Iam running a small method which will assign multiple values to an array.
I want to see the values in the array on the form line by line.
How can I do it?
Thanks in advance for the help.
Oct 11 '07 #1
5 7848
Plater
7,872 Expert 4TB
Add a label.
Or better yet a multi-line textbox.

The toolbar is your friend.


OR if you're in a console application, just output to the Console
Oct 11 '07 #2
Add a label.
Or better yet a multi-line textbox.

The toolbar is your friend.


OR if you're in a console application, just output to the Console

Iam trying to print in the textbox , can you tell me how to pass the variable to print in the text box, iam still a rookie.
Thanks
Oct 11 '07 #3
Plater
7,872 Expert 4TB
mytextbox.Append(mytextstring+"\r\n");

OR

mytextbox.Text += mytextstring+"\r\n";
Oct 11 '07 #4
hi plater,
i have a small problem.Can I open file(.lwl extension file) in PrintPreviewControl in VB.Net1.1
how can i do it.
(its nothing but how do u file explorer view in vb.net1.1)
let me known if any code or process ,plz send to me
ok bye
Oct 12 '07 #5
Plater
7,872 Expert 4TB
Look at the OpenFileDialog object?
Oct 12 '07 #6

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

Similar topics

5
by: Jason | last post by:
Hello, I am working on a website which uses forms to fill in a few answers to questions. Does anybody know a javascript that prints only the answers (i.e. the forms) and not the whole page? I...
0
by: hesing Qiang | last post by:
In Print Process,I use the code,but it is not run correctly On WINDOWS 98 . I didn't know why ...? this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular,...
2
by: David Sabo | last post by:
Hi all... I having trouble printing on Win98. I cannot print more than once if I'm lucky in win98, when the printdocument.print() is executed the following Exception is raised. It doesn't start...
0
by: lumazi | last post by:
Hello all, I'm having an issue printing to a network printer. The line of code is fairly simple printDocument1.Print(); When you select print from a local printer it works fine, when you...
5
by: Tony | last post by:
Every 10 seconds I need to search a SQL table for orders to print. The orders are created through WebForms on ASP.NET clients. The orders should not print until 10 minutes before they are due. ...
0
by: ShaneO | last post by:
There have been similar questions raised in the past, however no answers seem to have been provided, so I thought I'd give it a go. Scenario 1: My Windows Forms app generates (say) 10 pages in a...
0
by: Luke Herbert | last post by:
I am very new to C# and have been trying to get to grips with it by writing a small tool to detect a USB key being inserted and then backup user specified files to the key. I have written some...
9
by: cniharral | last post by:
Hi, I'm interested in printing out coloured lines of my application and I don't know what to use. Can anybody give me an idea?? Regards. Carlos Niharra López
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
3
by: Andrew Meador | last post by:
I have a button on my form to "Print". I would like to create an HTML file, of the output, and call the Explorer...Print function when this "Print" button is clicked. How can I do this - the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.