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

C#

 
AnswerRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 5:06
Stefan Troschuetz19-May-06 5:06 
GeneralRe: FileSystemEventHandler arguments question. Pin
aquacadet19-May-06 6:00
aquacadet19-May-06 6:00 
GeneralRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 6:34
Stefan Troschuetz19-May-06 6:34 
Questiona question about messagebox ? Pin
cmpeng3419-May-06 4:39
cmpeng3419-May-06 4:39 
AnswerRe: a question about messagebox ? Pin
mav.northwind19-May-06 5:19
mav.northwind19-May-06 5:19 
QuestionProgrammatically creating Reports using Reporting Services Pin
anderslundsgard19-May-06 4:14
anderslundsgard19-May-06 4:14 
Questionhelp printing HTML with C# to printer Pin
dpietro19-May-06 4:14
dpietro19-May-06 4:14 
AnswerRe: help printing HTML with C# to printer Pin
BoneSoft19-May-06 4:42
BoneSoft19-May-06 4:42 
You could use a instance of the AxWebBrowser IE control. You have to have your HTML written to file somewhere, then navigate the IE control to it and use it to print the file.

C#
private AxSHDocVw.AxWebBrowser axWebBrowser1;
private void Print() {
	object o = null;
	axWebBrowser1.Navigate(@"C:\print.html", ref o, ref o, ref o, ref o);
	axWebBrowser1.ExecWB(
		SHDocVw.OLECMDID.OLECMDID_PRINT,
		SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER,
		ref o, ref o
	);
}

But if you are masochistic you can draw images with your Graphics object too. Not sure I'd be interested in writting my own HTML renderer.
GeneralRe: help printing HTML with C# to printer Pin
dpietro19-May-06 5:02
dpietro19-May-06 5:02 
Questionset a background image to my control Pin
Sasuko19-May-06 4:02
Sasuko19-May-06 4:02 
Questioncalling datagridview double click event on button click Pin
abhinish19-May-06 3:38
abhinish19-May-06 3:38 
AnswerRe: calling datagridview double click event on button click Pin
Josh Smith19-May-06 5:08
Josh Smith19-May-06 5:08 
Questionproblem in Rollback operation in deloyment project under c#.net Pin
manusharma19-May-06 3:15
manusharma19-May-06 3:15 
QuestionDisplaying Progress Pin
Rizwan Rathore19-May-06 2:39
Rizwan Rathore19-May-06 2:39 
AnswerRe: Displaying Progress Pin
MohammadAmiry19-May-06 3:26
MohammadAmiry19-May-06 3:26 
GeneralRe: Displaying Progress Pin
Rizwan Rathore19-May-06 7:45
Rizwan Rathore19-May-06 7:45 
GeneralRe: Displaying Progress Pin
Limey42021-May-06 11:41
Limey42021-May-06 11:41 
Questiontable to label - basics(asp&c#) Pin
locaas19-May-06 1:55
locaas19-May-06 1:55 
AnswerRe: table to label - basics(asp&c#) Pin
pq4noeh19-May-06 2:13
pq4noeh19-May-06 2:13 
GeneralRe: table to label - basics(asp&c#) Pin
locaas19-May-06 2:21
locaas19-May-06 2:21 
GeneralRe: here you have the code Pin
pq4noeh21-May-06 22:01
pq4noeh21-May-06 22:01 
QuestionConect to the domain server Pin
pq4noeh19-May-06 1:33
pq4noeh19-May-06 1:33 
AnswerRe: Conect to the domain server Pin
Ryan Roberts19-May-06 2:14
Ryan Roberts19-May-06 2:14 
QuestionRegarding Crystel Reports Pin
A.Grover19-May-06 1:18
A.Grover19-May-06 1:18 
QuestionOptional Parameter Pin
NICE TO MEET19-May-06 1:02
NICE TO MEET19-May-06 1:02 

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.