Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interfaces in C# Pin
saud_a_k16-Jun-04 18:40
saud_a_k16-Jun-04 18:40 
GeneralRe: Interfaces in C# Pin
Stefan Troschuetz16-Jun-04 19:31
Stefan Troschuetz16-Jun-04 19:31 
GeneralRe: Interfaces in C# Pin
saud_a_k16-Jun-04 19:41
saud_a_k16-Jun-04 19:41 
GeneralRe: Interfaces in C# Pin
Stefan Troschuetz16-Jun-04 19:46
Stefan Troschuetz16-Jun-04 19:46 
GeneralRe: Interfaces in C# Pin
LongRange.Shooter17-Jun-04 3:22
LongRange.Shooter17-Jun-04 3:22 
GeneralDate Picker in DataGrid Pin
sulmun16-Jun-04 0:19
sulmun16-Jun-04 0:19 
GeneralRe: Date Picker in DataGrid Pin
Heath Stewart16-Jun-04 4:18
protectorHeath Stewart16-Jun-04 4:18 
GeneralPrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
QzRz16-Jun-04 0:12
QzRz16-Jun-04 0:12 
hello...

I want to print some text, I have it in a RichTextBox!
I dont know how to do it...
However i tried this...

PrintPreviewDialog Print = new PrintPreviewDialog();
Print.Document = richTextBox1.Text;
Print.ShowDialog();

But it can't convert string to PringDocument!

I also tried....

PrintDocument preview = new PrintDocument();
PrintPreviewDialog Print = new PrintPreviewDialog();
Print.Document = preview ;
Print.ShowDialog();

then it works, but the paper is blank!

I don't know what else to do! Confused | :confused:

so please help me!

GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
exhaulted16-Jun-04 0:41
exhaulted16-Jun-04 0:41 
GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
QzRz16-Jun-04 0:52
QzRz16-Jun-04 0:52 
GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
exhaulted16-Jun-04 1:09
exhaulted16-Jun-04 1:09 
GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
QzRz16-Jun-04 1:29
QzRz16-Jun-04 1:29 
GeneralRestricting new rows on a datagrid Pin
exhaulted16-Jun-04 0:08
exhaulted16-Jun-04 0:08 
GeneralRe: Restricting new rows on a datagrid Pin
the last free name16-Jun-04 3:37
the last free name16-Jun-04 3:37 
GeneralRe: Restricting new rows on a datagrid Pin
exhaulted16-Jun-04 3:59
exhaulted16-Jun-04 3:59 
GeneralRe: Restricting new rows on a datagrid Pin
Heath Stewart16-Jun-04 4:13
protectorHeath Stewart16-Jun-04 4:13 
GeneralRe: Restricting new rows on a datagrid Pin
exhaulted16-Jun-04 4:55
exhaulted16-Jun-04 4:55 
GeneralSave as dialog box for pocket pc in c# Pin
yyuull15-Jun-04 23:37
yyuull15-Jun-04 23:37 
GeneralRe: Save as dialog box for pocket pc in c# Pin
Dave Kreskowiak16-Jun-04 3:59
mveDave Kreskowiak16-Jun-04 3:59 
GeneralRe: Save as dialog box for pocket pc in c# Pin
Anonymous18-Jun-04 3:22
Anonymous18-Jun-04 3:22 
GeneralFlicker free panel Pin
PrebKlok15-Jun-04 22:31
PrebKlok15-Jun-04 22:31 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:37
Meysam Mahfouzi15-Jun-04 23:37 
GeneralRe: Flicker free panel Pin
PrebKlok15-Jun-04 23:44
PrebKlok15-Jun-04 23:44 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:52
Meysam Mahfouzi15-Jun-04 23:52 
GeneralRe: Flicker free panel Pin
Heath Stewart16-Jun-04 4:12
protectorHeath Stewart16-Jun-04 4:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.