Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Thomas Stockwell21-Jul-08 9:31
professionalThomas Stockwell21-Jul-08 9:31 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Green Fuze21-Jul-08 12:24
Green Fuze21-Jul-08 12:24 
Questionconvert the pdf file to txt file Pin
Member 226808621-Jul-08 7:38
Member 226808621-Jul-08 7:38 
AnswerRe: convert the pdf file to txt file Pin
DaveyM6921-Jul-08 8:34
professionalDaveyM6921-Jul-08 8:34 
QuestionWeb service calling business logic Pin
Gktony21-Jul-08 6:39
Gktony21-Jul-08 6:39 
AnswerRe: Web service calling business logic Pin
leppie21-Jul-08 14:49
leppie21-Jul-08 14:49 
GeneralRe: Web service calling business logic Pin
Gktony21-Jul-08 20:53
Gktony21-Jul-08 20:53 
QuestionImplementing IWebBrowser2 on WebBrowser control? Pin
Christopher Duncan21-Jul-08 6:16
Christopher Duncan21-Jul-08 6:16 
Hey, guys.

In searching for a solution to my problem below (http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2645163[^]) about stopping the MS dialog boxes in the WebBrowser control, I've discovered that the IWebBrowser2 interface has a property called Silent that seems to fit the bill. WebBrowser doesn't seem to implement IWebBrowser2 out of the box and embarrassingly, my COM background is in C++ rather than C# so I find myself fumbling a bit.

I'm hoping it's only minor rocket science to derive a new WebBrowser control & implement this interface so that I can get to the Silent property. All I'm using the browser control for is to navigate to a site & then save off an image capture of it to a jpeg. Everything is working fine, but I'm getting hammered by MS messages boxes complaining of scripting errors, unknown publishers, etc. (and I've tried all the browser control properties and IE options to no avail). I'm hoping Silent works as advertised.

Apologies for such a newbie question, but a little guidance in this area from the more experienced hands would be most appreciated. What's the quickest path to getting IWebBrowser2 implemented on the WebBrowser control?

Thanks!


AnswerRe: Implementing IWebBrowser2 on WebBrowser control? Pin
led mike21-Jul-08 6:59
led mike21-Jul-08 6:59 
GeneralRe: Implementing IWebBrowser2 on WebBrowser control? Pin
Christopher Duncan21-Jul-08 7:12
Christopher Duncan21-Jul-08 7:12 
GeneralRe: Implementing IWebBrowser2 on WebBrowser control? Pin
led mike21-Jul-08 7:40
led mike21-Jul-08 7:40 
GeneralRe: Implementing IWebBrowser2 on WebBrowser control? Pin
Christopher Duncan21-Jul-08 8:24
Christopher Duncan21-Jul-08 8:24 
QuestionSystem.Net.Socket.Connected Pin
Jason McBurney21-Jul-08 5:58
Jason McBurney21-Jul-08 5:58 
AnswerRe: System.Net.Socket.Connected Pin
led mike21-Jul-08 7:16
led mike21-Jul-08 7:16 
GeneralRe: System.Net.Socket.Connected Pin
DaveyM6921-Jul-08 8:14
professionalDaveyM6921-Jul-08 8:14 
AnswerRe: System.Net.Socket.Connected Pin
nelsonpaixao21-Jul-08 13:10
nelsonpaixao21-Jul-08 13:10 
Questionstructured storage API Pin
Miss_hacker21-Jul-08 5:58
Miss_hacker21-Jul-08 5:58 
AnswerRe: structured storage API Pin
led mike21-Jul-08 6:57
led mike21-Jul-08 6:57 
GeneralRe: structured storage API Pin
Miss_hacker21-Jul-08 7:53
Miss_hacker21-Jul-08 7:53 
GeneralRe: structured storage API Pin
led mike21-Jul-08 7:59
led mike21-Jul-08 7:59 
GeneralRe: structured storage API Pin
DaveyM6921-Jul-08 8:21
professionalDaveyM6921-Jul-08 8:21 
GeneralRe: structured storage API Pin
Miss_hacker21-Jul-08 19:32
Miss_hacker21-Jul-08 19:32 
GeneralRe: structured storage API Pin
DaveyM6922-Jul-08 0:30
professionalDaveyM6922-Jul-08 0:30 
QuestionGenerating Incremental Values preceded with letters Pin
Banjo Ayorinde21-Jul-08 5:11
Banjo Ayorinde21-Jul-08 5:11 
AnswerRe: Generating Incremental Values preceded with letters Pin
Pete O'Hanlon21-Jul-08 5:41
mvePete O'Hanlon21-Jul-08 5:41 

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.