471,306 Members | 840 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

PrintPreviewDialog trouble

hi all.

I've a problem with PrintPreviewDialog in c#.

I've done a form with a ListViewControl and i tried to print the data
contents in this listview.

I've read the ListViewControl via a WHILE cicle and i've done document
then i've send it to the PrintPreviewDialog...end it seems to be
perfect but when i click the printer button on the PrintPreviewDialog
the printed document isn't what I see is not what i get.

So i've changed my WHILE cicle with a FOR cicle and the results is
perfect in preview and in print.

Someone may help me....thanks...

SORRY FOR MY POOR ENGLISH.

Dec 14 '05 #1
1 1595
On 14 Dec 2005 03:17:04 -0800, ja**********@libero.it wrote:
hi all.

I've a problem with PrintPreviewDialog in c#.

I've done a form with a ListViewControl and i tried to print the data
contents in this listview.

I've read the ListViewControl via a WHILE cicle and i've done document
then i've send it to the PrintPreviewDialog...end it seems to be
perfect but when i click the printer button on the PrintPreviewDialog
the printed document isn't what I see is not what i get.

So i've changed my WHILE cicle with a FOR cicle and the results is
perfect in preview and in print.

Someone may help me....thanks...

SORRY FOR MY POOR ENGLISH.


It is difficult to help you without seeing the code of your FOR-loop
and your WHILE-loop. Please post copies of them here.

Your English is a lot better than my Italian.

rossum

--

The ultimate truth is that there is no ultimate truth
Dec 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Michael A. Covington | last post: by
reply views Thread by Harry J. Smith | last post: by
1 post views Thread by Jack E. Hardie | last post: by
2 posts views Thread by Richard MSL | last post: by
2 posts views Thread by peter.mcclymont | last post: by
reply views Thread by rosydwin | last post: by

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.