Click here to Skip to main content
15,915,164 members
Home / Discussions / C#
   

C#

 
AnswerRe: To call another form? Pin
Colin Angus Mackay2-Dec-05 0:58
Colin Angus Mackay2-Dec-05 0:58 
QuestionWindows Explorer Addin Creation Pin
RamuP1-Dec-05 23:55
RamuP1-Dec-05 23:55 
Questionusing Access with C# Pin
Taimoor Mirza1-Dec-05 23:30
Taimoor Mirza1-Dec-05 23:30 
AnswerRe: using Access with C# Pin
Guffa2-Dec-05 0:35
Guffa2-Dec-05 0:35 
QuestionSourceGrid 2 Pin
goldjoer1-Dec-05 23:15
goldjoer1-Dec-05 23:15 
Questiondesign report at runtime? Pin
dinh van hai1-Dec-05 22:52
dinh van hai1-Dec-05 22:52 
QuestionPrinting Theory?!??! Pin
tatchung1-Dec-05 22:22
tatchung1-Dec-05 22:22 
AnswerRe: Printing Theory?!??! Pin
mcljava2-Dec-05 10:56
mcljava2-Dec-05 10:56 
Interesting that to print your are essentially re-running the HTML through your own print logic. I'd have to agree that would be ugly but more importantly is it what you really want or do you want a screen capture of the Client Window?

The latter is pretty simple Win32 type stuff, get the application form device context: Left, Right, and size coordinates. Use a GDI calls like GetRegionData, SaveDC, etc to snatch the image, then you can either save and print or just render the image to the printer. It's probably a tad more work but at least you can design a generic screen grab and print class that you could reuse. A cool application that I have used for years is SnagIT, which does what I'm talking about but it also saves the image to your favorite file format (BMP, GIF, JPEG, etc.) Depending on how far you wished to take this you could build a mini-SnagIT for your application library.


Mike
GeneralRe: Printing Theory?!??! Pin
tatchung4-Dec-05 14:55
tatchung4-Dec-05 14:55 
QuestionHow to get the Windows color theme? Pin
Pikebu1-Dec-05 21:46
Pikebu1-Dec-05 21:46 
AnswerRe: How to get the Windows color theme? Pin
Insincere Dave2-Dec-05 6:20
Insincere Dave2-Dec-05 6:20 
Questionsocket - client Pin
Ankit Aneja1-Dec-05 20:29
Ankit Aneja1-Dec-05 20:29 
AnswerRe: socket - client Pin
mcljava2-Dec-05 7:45
mcljava2-Dec-05 7:45 
Questionis it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
sridevi20051-Dec-05 19:26
sridevi20051-Dec-05 19:26 
AnswerRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
S. Senthil Kumar1-Dec-05 20:15
S. Senthil Kumar1-Dec-05 20:15 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
sridevi20052-Dec-05 17:50
sridevi20052-Dec-05 17:50 
AnswerRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
leppie1-Dec-05 20:18
leppie1-Dec-05 20:18 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
sridevi20051-Dec-05 23:10
sridevi20051-Dec-05 23:10 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
Rob Philpott1-Dec-05 23:26
Rob Philpott1-Dec-05 23:26 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
sridevi20052-Dec-05 17:33
sridevi20052-Dec-05 17:33 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
leppie1-Dec-05 23:29
leppie1-Dec-05 23:29 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
Alvaro Mendez2-Dec-05 3:31
Alvaro Mendez2-Dec-05 3:31 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
Dan Neely2-Dec-05 3:58
Dan Neely2-Dec-05 3:58 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
Rob Philpott1-Dec-05 23:24
Rob Philpott1-Dec-05 23:24 
GeneralRe: is it possible for string type constants to be declared in interfaces in C#.net,urgent plz Pin
sridevi20052-Dec-05 17:49
sridevi20052-Dec-05 17:49 

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.