Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Int32.Parse(string) vs Convert.ToInt32(string) Pin
stancrm7-Aug-06 0:31
stancrm7-Aug-06 0:31 
GeneralRe: Int32.Parse(string) vs Convert.ToInt32(string) Pin
Colin Angus Mackay7-Aug-06 1:07
Colin Angus Mackay7-Aug-06 1:07 
AnswerRe: Int32.Parse(string) vs Convert.ToInt32(string) Pin
stancrm6-Aug-06 22:55
stancrm6-Aug-06 22:55 
AnswerRe: Int32.Parse(string) vs Convert.ToInt32(string) Pin
Guffa7-Aug-06 0:41
Guffa7-Aug-06 0:41 
Questionsend file directly to printer Pin
Support1236-Aug-06 22:21
Support1236-Aug-06 22:21 
AnswerRe: send file directly to printer [modified] Pin
l0kke7-Aug-06 1:27
l0kke7-Aug-06 1:27 
GeneralRe: send file directly to printer Pin
Support1237-Aug-06 1:36
Support1237-Aug-06 1:36 
AnswerRe: send file directly to printer Pin
michmela447-Aug-06 4:30
michmela447-Aug-06 4:30 
I use this ...

this.printDocument1.PrintPage += new PrintPageEventHandler(this.printDocument1_PrintPage);<br />
this.printDocument1.Print();


this assumes you have a printDocument1 of type PrintDocument defined

you also need a printDocument1_PrintPage function that uses System.Drawing.Printing.PrintPageEventArgs.Graphics to draw an image to the printer.


This just prints when it is called. there is no dialog to accept or cancel.

Sound confusing at first, but search for these strings in the MSDN library and it will help.

Hope this is what you were looking for.
GeneralThank you Pin
Support1237-Aug-06 4:42
Support1237-Aug-06 4:42 
Questionhow to link up 2 forms?? Pin
skyeddie6-Aug-06 21:43
skyeddie6-Aug-06 21:43 
AnswerRe: how to link up 2 forms?? Pin
Ed.Poore6-Aug-06 22:18
Ed.Poore6-Aug-06 22:18 
AnswerRe: how to link up 2 forms?? Pin
skyeddie6-Aug-06 22:27
skyeddie6-Aug-06 22:27 
GeneralRe: how to link up 2 forms?? Pin
Christian Graus6-Aug-06 22:51
protectorChristian Graus6-Aug-06 22:51 
Questionset transparent for listbox backcolor Pin
Nafiseh Salmani6-Aug-06 21:28
Nafiseh Salmani6-Aug-06 21:28 
AnswerRe: set transparent for listbox backcolor Pin
stancrm6-Aug-06 22:51
stancrm6-Aug-06 22:51 
Questionhow to speed up the search Pin
ayyp6-Aug-06 21:23
ayyp6-Aug-06 21:23 
AnswerRe: how to speed up the search Pin
Guffa6-Aug-06 22:25
Guffa6-Aug-06 22:25 
GeneralRe: how to speed up the search Pin
ayyp6-Aug-06 22:42
ayyp6-Aug-06 22:42 
GeneralRe: how to speed up the search Pin
ayyp6-Aug-06 22:44
ayyp6-Aug-06 22:44 
AnswerRe: how to speed up the search Pin
Guffa6-Aug-06 22:56
Guffa6-Aug-06 22:56 
AnswerRe: how to speed up the search Pin
Christian Graus6-Aug-06 22:54
protectorChristian Graus6-Aug-06 22:54 
QuestionProblem with TypeConverter in dynamically loaded assembly Pin
Robert.K6-Aug-06 21:18
Robert.K6-Aug-06 21:18 
AnswerRe: Problem with TypeConverter in dynamically loaded assembly Pin
leppie7-Aug-06 4:55
leppie7-Aug-06 4:55 
GeneralRe: Problem with TypeConverter in dynamically loaded assembly Pin
Robert.K8-Aug-06 5:57
Robert.K8-Aug-06 5:57 
Questionaccess to forms at design-time Pin
SJ_Phoenix6-Aug-06 20:43
SJ_Phoenix6-Aug-06 20:43 

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.