Click here to Skip to main content
15,888,610 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionColor Palette From an Image Pin
Arun Jacob18-Feb-09 19:03
Arun Jacob18-Feb-09 19:03 
AnswerRe: Color Palette From an Image Pin
Dave Kreskowiak19-Feb-09 4:39
mveDave Kreskowiak19-Feb-09 4:39 
GeneralRe: Color Palette From an Image Pin
Arun Jacob19-Feb-09 18:16
Arun Jacob19-Feb-09 18:16 
GeneralRe: Color Palette From an Image Pin
Dave Kreskowiak20-Feb-09 1:44
mveDave Kreskowiak20-Feb-09 1:44 
AnswerRe: Color Palette From an Image Pin
Mark Salsbery20-Feb-09 8:45
Mark Salsbery20-Feb-09 8:45 
QuestionAxWebBrowser Print Functionality Pin
CoolCoder_New18-Feb-09 3:55
CoolCoder_New18-Feb-09 3:55 
AnswerRe: AxWebBrowser Print Functionality Pin
Pete O'Hanlon18-Feb-09 4:11
mvePete O'Hanlon18-Feb-09 4:11 
GeneralRe: AxWebBrowser Print Functionality Pin
CoolCoder_New18-Feb-09 18:17
CoolCoder_New18-Feb-09 18:17 
Hi ,

i am using axwebbrowser in a windows form application. Sorry i didnt mentioned it in my original post..

in my windows application , i have embeded the axwebbrowser and placed one button. On click of that button i am calling the below method

public void PrintBrowser()
{
object o = "";
// constants useful when printing
SHDocVw.OLECMDID Print = SHDocVw.OLECMDID.OLECMDID_PRINT;
// use this value to print with prompting
SHDocVw.OLECMDEXECOPT PromptUser =
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER;
//SHDocVw.OLECMDEXECOPT DontPromptUser =
//SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER;

if (!IsPrinterEnabled()) return;
// print with prompting user
//axWebBrowser1.ExecWB(Print, DontPromptUser, ref o, ref o);
// to prompt the user with printer settings
axWebBrowser.ExecWB(Print, PromptUser, ref o, ref o);
}

This method prompts the print dialog using ExecWB(..) method and prints the content of the web browser alone . My question is i need to add some header and footer text and also some extra texts to the content of the browser content. Can u help me out to solve thsi problem.

Thanks.
GeneralRe: AxWebBrowser Print Functionality Pin
Pete O'Hanlon18-Feb-09 22:11
mvePete O'Hanlon18-Feb-09 22:11 
GeneralRe: AxWebBrowser Print Functionality [modified] Pin
CoolCoder_New18-Feb-09 23:29
CoolCoder_New18-Feb-09 23:29 
QuestionHow to POST the XML string to URL ... Pin
nileshbahirshet18-Feb-09 0:19
nileshbahirshet18-Feb-09 0:19 
AnswerRe: How to POST the XML string to URL ... Pin
Rob Philpott18-Feb-09 5:09
Rob Philpott18-Feb-09 5:09 
QuestionChoosing between Remoting, WCF or TCP Listeners Pin
xandytsui17-Feb-09 19:08
xandytsui17-Feb-09 19:08 
AnswerRe: Remoting, WCF or Old school method Pin
Dave Kreskowiak18-Feb-09 5:11
mveDave Kreskowiak18-Feb-09 5:11 
Question.NET 3.5 vs .NET 2.0 Pin
idhiCodeProject17-Feb-09 6:50
idhiCodeProject17-Feb-09 6:50 
GeneralRe: .NET 3.5 vs .NET 2.0 Pin
Luc Pattyn17-Feb-09 7:44
sitebuilderLuc Pattyn17-Feb-09 7:44 
GeneralRe: .NET 3.5 vs .NET 2.0 Pin
led mike17-Feb-09 8:32
led mike17-Feb-09 8:32 
GeneralRe: .NET 3.5 vs .NET 2.0 Pin
Thomas Stockwell19-Feb-09 5:29
professionalThomas Stockwell19-Feb-09 5:29 
QuestionRe: .NET 3.5 vs .NET 2.0 Pin
Eddy Vluggen17-Feb-09 8:45
professionalEddy Vluggen17-Feb-09 8:45 
QuestionRe: .NET 3.5 vs .NET 2.0 Pin
idhiCodeProject17-Feb-09 23:01
idhiCodeProject17-Feb-09 23:01 
AnswerRe: .NET 3.5 vs .NET 2.0 Pin
Eddy Vluggen17-Feb-09 23:33
professionalEddy Vluggen17-Feb-09 23:33 
GeneralRe: .NET 3.5 vs .NET 2.0 Pin
idhiCodeProject18-Feb-09 4:24
idhiCodeProject18-Feb-09 4:24 
GeneralRe: .NET 3.5 vs .NET 2.0 Pin
Eddy Vluggen18-Feb-09 4:30
professionalEddy Vluggen18-Feb-09 4:30 
Question[Message Deleted] Pin
Maxy5517-Feb-09 3:56
Maxy5517-Feb-09 3:56 
AnswerRe: how to implement Multi-Tenant Data Architecture in asp.net 2.0 Pin
Pete O'Hanlon17-Feb-09 4:04
mvePete O'Hanlon17-Feb-09 4:04 

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.