Displaying active documents in IE through my own protocol handler
-
quinta-feira, 23 de fevereiro de 2012 13:44
I have implemented a protocol handler using pluggable protocol api of IE which is rendering HTML files pretty well in IE. The next step is being able to render active documents such as doc, ppt, pdf, etc in IE through the protocol handler. I understand I need to implement some interfaces for that but I am not sure of what exactly has to be done. Any pointers will be helpful. Thanks.
Todas as Respostas
-
segunda-feira, 27 de fevereiro de 2012 07:41Moderador
Hello,
I found a sample code about Pluggable Protocol Handler
http://www.codeproject.com/Articles/12865/An-Asynchronous-Pluggable-Protocol-Handler-for-datI hope these information can help you to solve this problem.
Best regards,
JesseJesse Jiang [MSFT]
MSDN Community Support | Feedback to us
-
terça-feira, 28 de fevereiro de 2012 13:25
Thanks for the reply.
I went through the links but somehow I coudn't figure out a solution for my problem. I'll elaborate the issue I am facing a bit more so that it gives you a better picture of where I am stuck.
I have implemented a pluggable protocol handler for IE in c#. In it I am fetching some data(in the form of files like html, doc, ppt, etc) from my application server and streaming it back to IE. The problem is that html files are being rendered properly in IE, but doc, ppt files etc(active documents) are not being rendered. I get an "open save dialog box" for a document and when i click on open, nothing happens. Logs show that data is not completely being read by IE. I am specifying MIME type also correctly.
I am following all the steps being listed in http://msdn.microsoft.com/en-us/library/ie/aa767916(v=vs.85).aspx for pluggable protocol handler creation, but I am not clear with pt. no. 7. Provide support for BINDF_NO_UI and BINDF_SILENTOPERATION. (I don't know how can that be done in C#. I googled also on it, but didn't get any useful output. )
Any pointers will be helpful.
Regards,
Shikha

