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.

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 .
Related Articles Articoli correlati
- Foxit PDF Preview Handler Free Download Foxit PDF Anteprima gestore di download gratuito
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Download gratuito: Vista e Office 2007 Anteprima gestore pack per sostenere più tipi di file
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Download. Cs,. Vb,. Js e. Sql file di codice Anteprima Handler per Vista e Outlook 2007
- Enable Previews in Windows Vista Folders with Preview Pane Attiva Anteprima di Windows Vista cartelle con il riquadro di anteprima
- Reset “Always Warn Before Previewing This Type of File” Setting in Outlook 2007 Reset "Avvisa prima di sempre Anteprima di questo tipo di file" Impostazione in Outlook 2007
- Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening Anteprima C #, Visual Basic e codice sorgente C + + Direct nel file allegati senza aprire
- Alternatives To Adobe Acrobat Reader Alternative al di Adobe Acrobat Reader
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader Alternativa al visualizzatore di PDF Acrobat Reader: Foxit Reader
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions Download gratuito: anteprima editor gestore di associazione al gruppo stesso tipo di file con diverse estensioni
- Adobe PhotoShop (PSD) Preview Handler Free Download Adobe Photoshop (PSD) Anteprima gestore di download gratuito









May 27th, 2008 14:40 27 maggio 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)”. 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.