Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Modificare Vista e Office 2007 file allegato e che praticano l'anteprima di sostenere Foxit PDF Reader

In 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. hanno una funzione che consente di visualizzare in anteprima un allegato nel messaggio di posta elettronica all'interno di Outlook 2007 direttamente dopo fai clic sul anteprima opzione quando si seleziona un allegato, o il contenuto di un file in File Explorer Vista quando evidenziato. The preview will be shown in L'anteprima verrà visualizzato in preview pane riquadro di anteprima in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. in Outlook 2007 e Vista layout e, di conseguenza, gli utenti hanno la necessità di non aprire i file in programmi esterni o applicazioni.

Vista riquadro di anteprima
XML file preview in Windows Vista File XML in anteprima in 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. Per impostazione predefinita, il built-in nativo funzione di anteprima è solo pochi gestori di sostegno limitato per i tipi di file e le estensioni come ad esempio i documenti di Word, presentazioni di PowerPoint, fogli di calcolo Excel, \ file di font, file video e audio, e una varietà di altri tipi di file che sono comunemente inviati come allegati. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) i documenti che è popolare e ampiamente utilizzato è a sinistra. However, Microsoft Developer Network (MSDN) provides a Tuttavia, Microsoft Developer Network (MSDN) fornisce un sample preview handlers campione che praticano l'anteprima which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. che si può scaricare e installare in modo da ha la capacità di anteprima di documenti Adobe PDF in Vista e di Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have Tuttavia, lo sviluppatore utilizzare Adobe controllo ActiveX per il lettore Acrobat PDF attuazione, che richiederà agli utenti di avere Adobe Reader Adobe Reader or o Adobe Acrobat Reader Adobe Acrobat Reader installed. installato.

If you’re using alternative Acrobat PDF reader like Se si utilizza Acrobat PDF alternativi come lettore 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 , Allora si avrà bisogno di modificare il gestore PDF in anteprima il codice sorgente in modo che Windows Vista e Office Outlook 2007 in grado di supportare Foxit Reader API correttamente, come consigliato dal timheuer .

The file to modify is PdfPreviewHandler.cs from the Il file da modificare è PdfPreviewHandler.cs dal free preview handlers add-on download from MSDN anteprima gratuita gestori di add-on per il download da MSDN (link at the bottom). (link in fondo). Go to about line 41 and change to the following: Vai a circa linea 41 e cambiare la seguente:


// Foxit Reader ActiveX / / Foxit Reader ActiveX
public PdfAxHost() PdfAxHost pubblico ()
: base("d46a7492-4b6c-446f-8100-4812edf406c9") { } : 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. Avanti, pinvoke il metodo deve essere modificata come Adobe controllo ActiveX e API si avvale di un LoadFile () firma, ma foxit utilizza un OpenFile () firma. Foxit also uses a second parameter which is the starting page of the document. Foxit utilizza anche un secondo parametro che è la pagina iniziale del documento. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Così individuare la LoadFile nel file e modificare a OpenFile per il seguente aspetto:


_ocx.GetType().InvokeMember( _ocx.GetType (). InvokeMember (
"OpenFile", BindingFlags.InvokeMethod, null, // changed to OpenFile "OpenFile", BindingFlags.InvokeMethod, null, / / cambiato in OpenFile
_ocx, new object[] { fileName, 0 }, CultureInfo.InvariantCulture); // added 0 parameter to array _ocx, new Object [] (fileName, 0), CultureInfo.InvariantCulture); / / aggiunto parametro 0 a matrice

Save the file, compile and deploy. Salvare il file, compilare e installare le applicazioni. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. E ora si dovrà PDF anteprima capacità di Windows Vista e Office 2007 senza bisogno di Adobe Acrobat Reader. Note that you will need to get Si noti che è necessario per ottenere 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. al fine di questa versione modificata di Foxit PDF previewer al lavoro, non solo l'installazione di Foxit Reader, a pagamento o canone applicato.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



One Response to “Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader” Una risposta a "Modifica Vista e Office 2007 File Allegato Anteprima e gestori di Supporto Foxit PDF Reader"

  1. dott Dott
    May 27th, 2008 14:40 27 maggio 2008 14:40
    1

    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)”. Non vi è alcuna necessità di modificare nulla, solo associare. Pdf (ci sono un sacco di anteprima gestore di associazione editori) con "MSDN Magazine Internet Explorer anteprima gestore" e si dovrà lavorare il vero FoxitReader ActiveX come anteprima gestore che non buggy e limitata "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. Stesso per ogni tipo di file che InternetExplorer o uno dei suoi collegamenti può gestore.

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

pdf file previewer file PDF previewer - -- pdf previewer outlook PDF previewer prospettive - -- office 2007 pdf viewer Office 2007 visualizzatore di PDF - -- pdf viewer for Vista visualizzatore di PDF per Vista - -- file previewer pdf previewer di file PDF - -- office pdf previewer ufficio PDF previewer - -- vista pdf viewer Vista visualizzatore di PDF - -- office previewers ufficio previewers - -- pdf reader vista Vista la lettura di file PDF - -- foxit vista foxit Vista - -- pdf viewer office 2007 PDF Viewer Office 2007 - -- office 2007 key reader Office 2007 lettore chiave - -- outlook 2007 file previewer Outlook 2007 file previewer - -- enable adobe pdf preview handler consentire Adobe PDF anteprima gestore - -- outlook 2007 attachment previewer Outlook 2007 attaccamento previewer - -- foxit pdf vista foxit PDF Vista - -- office 2007 acrobat file previewer Office 2007 file Acrobat previewer - -- wav preview handler outlook 2007 WAV anteprima gestore di Outlook 2007 - -- vista pdf reader Vista la lettura di file PDF - -- vista pdf preview handler Vista anteprima gestore PDF - -- outlook file previewer prospettive file di previewer - -- pdf preview handler vista x64 PDF anteprima gestore Vista x64 - -- outlook attachment preview prospettive attaccamento anteprima - -- adobe pdf previewer Adobe PDF previewer - -- outlook file preview file di Outlook in anteprima - -- foxit reader vista foxit lettore Vista - -- adobe foxit pdf internet explorer Adobe PDF foxit Internet Explorer - -- no pdf previews in vista 64 non in pdf anteprime Vista 64 - -- all tutto - -- outlook change attachment previewer handler cambiamento di prospettiva attaccamento previewer gestore - -- attachment previewers api attaccamento previewers API - -- outlook 2007 preview attachment Outlook 2007 in anteprima attaccamento - -- pdf preview handler not working in vista pdf anteprima gestore non lavora in vista - -- how to change default pdf viewer in vista come cambiare impostazione predefinita PDF Viewer in vista - -- pdfpreviewhandler for vista 64 bit pdfpreviewhandler per Vista a 64 bit - -- help on office2007 attachment aiutare a office2007 attaccamento - -- mdi file previewer MDI file previewer - -- office 2007 attachment Office 2007 attaccamento - -- acrobat 8.1 viewer in outlook 2007 not working acrobat 8,1 visualizzatore in Outlook 2007 non funziona - -- adobe previewer Adobe previewer - -- adobe pdf preview not working in outlook 2007 Adobe PDF in anteprima non funziona in Outlook 2007 - -- Download Foxit PDF viewer outlook Foxit PDF download visualizzatore prospettive - -- pdf preview handler vista64 PDF anteprima gestore vista64 - -- pdf previewer vista PDF previewer Vista - -- .mdi previewer . MDI previewer - -- ADOBE PREVIEWER HANDLER ADOBE PREVIEWER gestore - -- attachment fraud with ms outlook 2007 attaccamento frodi con MS Outlook 2007 - -- adobe acrobat file previewer Adobe Acrobat file previewer - -- pdf reader for vista la lettura di file PDF per Vista - -- pdf outlook file previewer PDF file di Outlook previewer - --