Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Modificar Vista e do Office 2007 eo ficheiro anexo para handlers Preview apoio Foxit Reader PDF
In Em Windows Vista Windows Vista ’s File Explorer and 'S File Explorer e Microsoft Office Outlook 2007 Microsoft Office Outlook 2007 have a feature that allows you to preview an attachment in email message from within the Outlook 2007 itself directly after click on the preview option when you select an attachment, or the content of a file in Vista File Explorer when highlighted. têm uma funcionalidade que permite visualizar um anexo na mensagem de e-mails dentro do Outlook 2007 si mesmo, imediatamente, após clicar sobre o preview opção quando você escolher uma penhora, ou o conteúdo de um arquivo no Vista File Explorer quando destacou. The preview will be shown in A visualização será mostrada no preview pane painel de visualização in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. no Outlook 2007 e Vista layout, e assim os usuários não precisam de abrir os arquivos em programas ou aplicações externas.

XML file preview in Windows Vista Inspecione o arquivo XML no Windows Vista
By default, the built-in native preview feature has only a few supported handlers for limited file types and extensions such as Word documents, PowerPoint presentations, Excel spreadsheets, \font files, video and audio files, and a variety of other file types that are commonly sent as attachments. Por padrão, o built-in preview nativa característica tem apenas alguns apoiou pelos autoprestadores para limitar os tipos de arquivo e extensões, tais como documentos do Word, apresentações em PowerPoint, planilhas Excel, \ arquivos fonte, arquivos de áudio e vídeo, e uma variedade de outros tipos de arquivos que são normalmente enviados como anexos. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) documentos que é popular e largamente utilizada é deixada de fora. However, Microsoft Developer Network (MSDN) provides a No entanto, a Microsoft Developer Network (MSDN) fornece um sample preview handlers amostra preview handlers which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. que você pode baixar e instalar a fim de ter a capacidade de visualizar documentos em PDF Adobe Vista e Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have No entanto, o desenvolvedor usar controle ActiveX para o Adobe Acrobat Reader PDF execução, o que irá exigir que os usuários tenham Adobe Reader Adobe Reader or ou Adobe Acrobat Reader Adobe Acrobat Reader installed. instalado.
If you’re using alternative Acrobat PDF reader like Se você estiver usando alternativas como o leitor PDF Acrobat Foxit Reader Foxit Reader , then you will need to modify the PDF preview handler source code so that Windows Vista and Office Outlook 2007 can support Foxit Reader API properly, as advised by , Então você terá de modificar o código fonte PDF preview manipulador para que o Windows Vista e do Office Outlook 2007 podem favorecer o Foxit Reader API adequadamente, conforme recomendado pelo timheuer .
The file to modify is PdfPreviewHandler.cs from the O arquivo para modificar é o de PdfPreviewHandler.cs free preview handlers add-on download from MSDN preview livre movimentação add-on de download MSDN (link at the bottom). (link em baixo). Go to about line 41 and change to the following: Ir para a linha 41 e cerca de mudança para o seguinte:
// Foxit Reader ActiveX
public PdfAxHost()
: base("d46a7492-4b6c-446f-8100-4812edf406c9") { }
Next, the pinvoke method has to be changed as Adobe ActiveX control and API uses a LoadFile() signature, but foxit uses an OpenFile() signature. Em seguida, o pinvoke método tem de ser mudado como o Adobe controle ActiveX e API utiliza um loadfile () assinatura, mas usa uma Foxit OpenFile () assinatura. Foxit also uses a second parameter which is the starting page of the document. Foxit também usa um segundo parâmetro, que é a página inicial do documento. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Então localize o loadfile no arquivo, e mudar para a OpenFile pode ser parecido com o seguinte:
_ocx.GetType().InvokeMember(
"OpenFile", BindingFlags.InvokeMethod, null, // changed to OpenFile
_ocx, new object[] { fileName, 0 }, CultureInfo.InvariantCulture); // added 0 parameter to array
Save the file, compile and deploy. Salve o arquivo, compilar e implantar. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. E agora você vai ter capacidade de antevisão PDF no Windows Vista e do Office 2007, sem a necessidade do Adobe Acrobat Reader. Note that you will need to get Note que você vai precisar de obter Foxit Reader SDK (ActiveX) Foxit Reader SDK (ActiveX) in order for this modified version of Foxit PDF previewer to work, not just installing Foxit Reader, with charge or license fee applied. para que esta versão modificada do Foxit PDF previewer ao trabalho, não apenas instalar o Foxit Reader, com cargo ou licença aplicada.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma máquina página traduzida que é fornecido "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de entender. Please refer to Por favor consulte o original English article artigo original Inglês whenever possible. quando possível.
Share and contribute or get technical support and help at Compartilhe e contribuir ou obter assistência técnica e ajudar a My Digital Life Forums Minha vida digital Fóruns .
Related Articles Artigos Relacionados
- Foxit PDF Preview Handler Free Download Foxit PDF Preview Handler download gratuito
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Download. Cs,. Vb,. Js e. Sql Files Código Preview Handler para Vista e Outlook 2007
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Free Download: Vista e do Office 2007 Preview Handler Pack para apoiar mais tipos de arquivos
- Enable Previews in Windows Vista Folders with Preview Pane Ativar Previews no Windows Vista pastas com painel de visualização
- Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening Preview C #, Visual Basic, C + + Source Code arquivos direto nos Anexos Sem Abertura
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions Free Download: Preview Handler Associação Editor de grupo mesmo tipo de arquivo com diferentes extensões
- Reset “Always Warn Before Previewing This Type of File” Setting in Outlook 2007 Reset "Always Warn Antes Visualizando Este Tipo de Arquivo" Setting no Outlook 2007
- Adobe PhotoShop (PSD) Preview Handler Free Download Adobe Photoshop (PSD) Preview Handler download gratuito
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader Alternativa visualizador de PDF Acrobat Reader: Foxit Reader
- Alternatives To Adobe Acrobat Reader Alternativas para o Adobe Acrobat Reader

































May 27th, 2008 14:40 27 de maio de 2008 14:40
There is no need to modify nothing, just associate .pdf extension(there are a lot of preview handler association editors) with “MSDN Magazine Internet Explorer preview handler” and you will have working the real FoxitReader ActiveX as preview handler not that buggy and limited “FoxitReaderSDK(ActiveX)”. Não há necessidade de modificar nada, basta associar. Pdf extensão (há um monte de visualização manipulador associação editores) com "MSDN Magazine Internet Explorer preview manipulador" e você terá o trabalho real FoxitReader ActiveX como preview handler que não buggy e limitado "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. Mesmo para cada tipo de arquivo que InternetExplorer ou um de seus plugins podemos manipuladora.