Reputation: 7
I have created an asynchronous pluggable protocol for Internet Explorer :
ex://D:/sample.html (assume "ex" to be the protocol created by me)
opens the file D:/sample.html file in the IE itself
Following are the issues:
Its able to render html and jpeg(havn't checked other image file formats) files. But it displays the error "Navigation to the webpage was canceled" for other file formats such as .doc, .pdf, .swf, etc. According to the logs where I am recording stages of processing, the entire processing is going on similarly for these file formats as in the case of html etc.
After we open a file in IE, the file is opened in the IE using the default application being registered for the file format in the system. For example: a pdf file is opened in adobe reader in systems where adobe reader is the default application registered for pdf file format. So is there any way we can control UI controls(such as save, print,etc) of that default application programatically while the document is being displayed.
Any pointers would be helpful. Thanks.
Upvotes: 0
Views: 682
Reputation: 743
Take a look at my test protocol: (tp://) on codeplex. It does handle various types by reporting MIME type.
Upvotes: 1