Michael Scott at eBiz

I am trying to create a reader live the Adobe Reader that is a windows form displayed inside IE7 by clicking on a link for a pdf. I have an internal site that uses a special encryption that need to work like Adobe's reader but without it being outside the browser window. Any ideas or links to information. I think I will have to use URL Monikers but I have not seen an example to use a windows custom control to display in the browser.

Any help will be great.

Michael




Re: Internet Explorer Extension Development Add-on Reader for IE

Sdi

More detail might help, but it sounds like you need a pluggable MIME filter to insert into the stream handling. Basically, when IE sees your MIME type, it will call your handler with what amounts to a "here, go read this thing and give me the bits" request.



Re: Internet Explorer Extension Development Add-on Reader for IE

brooksy252

Michael,

You could start such a project by studying the COM active document architecture. This is what is used for displaying HTML (MSHTML), PDF (Acrobat Reader), Microsoft Word etc. inside Internet Explorer and what you will need to implement to display a custom document. There should be plenty of information online , msdn etc.

Alternatively, if HTML is the only content type you need to handle, you could implement a pluggable protocol (mime handler) to intercept the content, decrypt it, and pass it on to IE.

HTH

Mark






Re: Internet Explorer Extension Development Add-on Reader for IE

Michael Scott at eBiz

I have been searching for any example code for c# for the ActiveX Documents and the Protocol usage, the examples I got for the protocol were not helpful. I can find no way of creating an ActiveX Document in c#.




Re: Internet Explorer Extension Development Add-on Reader for IE

Sdi

The page I cited has step-by-step instructions on how to build a pluggable protocol handler. It will be an in-process COM server, so C# might not be the best choice, but it should be do-able; the documentation on the required interfaces is fairly readable.