Click here to Skip to main content
15,912,400 members
Home / Discussions / COM
   

COM

 
AnswerRe: COM compilation Pin
Jonathan Davies28-Jan-09 2:31
Jonathan Davies28-Jan-09 2:31 
AnswerRe: COM compilation Pin
guestcat29-Jan-09 5:40
guestcat29-Jan-09 5:40 
Questionsearch remote calendars with Microsoft.Office.Interop.Outlook 11 [modified] Pin
Entvex27-Jan-09 21:47
Entvex27-Jan-09 21:47 
QuestionPassing structure through variant Pin
ATM@CodeProject27-Jan-09 21:47
ATM@CodeProject27-Jan-09 21:47 
AnswerRe: Passing structure through variant Pin
prasad_som28-Jan-09 1:00
prasad_som28-Jan-09 1:00 
GeneralRe: Passing structure through variant Pin
ATM@CodeProject28-Jan-09 19:29
ATM@CodeProject28-Jan-09 19:29 
AnswerRe: Passing structure through variant Pin
prasad_som28-Jan-09 23:00
prasad_som28-Jan-09 23:00 
QuestionWebBrowser Control - intercept requests [modified] Pin
sdc39526-Jan-09 4:34
sdc39526-Jan-09 4:34 
Hi all

I've searched and searched but I can't find a method that will enable me to intercept requests from a WebBrowser control and then provide my own, programmatically generated responses.

Currently, my application uses the control to provide 90% of the UI by loading HTML, CSS and Javascript from disc using the "file" protocol. The scripts then call my app's dispatch interface to make things happen.

What I would like to be able to do is effectively serve these files without coding my own HTTP server. I'm hoping there's a point at which I can intercept the WebBrowser's request and then write my own response back to it. This response will usual consist of the contents of a file extracted from an archive or from the app's resources.

I would also like to be able to spot requests for images (by parsing the URL) so that I can render SVG graphics to a file as a PNG (or similar) and stream that file back to the browser.

So, is there some interface I can implement and supply to the browser in order to achieve the above? As I said, I'd like to avoid writing my own HTTP server or Asynchronous Pluggable Protocol handler.

Thanks in advance
Simon

modified on Friday, January 30, 2009 10:56 AM (typo)

AnswerRe: WebBrowser Control - intercept requests Pin
sdc39524-Jan-11 0:51
sdc39524-Jan-11 0:51 
QuestionHow to: COM component provide access to ASP.NET (aspx) web page controls Pin
scody21-Jan-09 18:21
scody21-Jan-09 18:21 
QuestionActivex Messages don´t work at runtime Pin
fpmatta7721-Jan-09 3:49
fpmatta7721-Jan-09 3:49 
AnswerRe: Activex Messages don´t work at runtime Pin
guestcat29-Jan-09 5:45
guestcat29-Jan-09 5:45 
GeneralRe: Activex Messages don´t work at runtime Pin
fpmatta7730-Jan-09 1:46
fpmatta7730-Jan-09 1:46 
QuestionIStream::Write() returns success code S_OK but still doesn't write anything... Pin
ShyamR21-Jan-09 2:25
ShyamR21-Jan-09 2:25 
AnswerRe: IStream::Write() returns success code S_OK but still doesn't write anything... Pin
Jonathan Davies21-Jan-09 3:24
Jonathan Davies21-Jan-09 3:24 
QuestionCOM event handlers stub in C++ Pin
Panduranga Chary20-Jan-09 0:39
Panduranga Chary20-Jan-09 0:39 
AnswerRe: COM event handlers stub in C++ Pin
KarstenK20-Jan-09 0:51
mveKarstenK20-Jan-09 0:51 
QuestionHow To pass structure or complex data in IDispatch using invoke() method [modified] Pin
Thomas_Mathews19-Jan-09 19:32
Thomas_Mathews19-Jan-09 19:32 
AnswerRe: How To pass structure or complex data in IDispatch using invoke() method Pin
Jonathan Davies29-Jan-09 0:07
Jonathan Davies29-Jan-09 0:07 
AnswerRe: How To pass structure or complex data in IDispatch using invoke() method Pin
guestcat29-Jan-09 5:31
guestcat29-Jan-09 5:31 
QuestionAccess a .Net COM object hosted in a COM+ Server in .Net? Pin
huckfinn18-Jan-09 22:50
huckfinn18-Jan-09 22:50 
QuestionCustom Tool Setup Projects? Pin
GibbleCH15-Jan-09 9:06
GibbleCH15-Jan-09 9:06 
QuestionMFC ActiveX Control derived from Static Control Pin
Member 319657814-Jan-09 23:00
Member 319657814-Jan-09 23:00 
AnswerRe: MFC ActiveX Control derived from Static Control Pin
KarstenK14-Jan-09 23:10
mveKarstenK14-Jan-09 23:10 
GeneralRe: MFC ActiveX Control derived from Static Control Pin
Member 319657814-Jan-09 23:29
Member 319657814-Jan-09 23:29 

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.