Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Modifier Vista et Office 2007 des fichiers de prévisualisation et l'attachement à l'appui de gestionnaires Foxit PDF Reader
In Dans Windows Vista Windows Vista ’s File Explorer and L 'Explorateur de fichiers et 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. ont une fonctionnalité qui vous permet de prévisualiser une pièce jointe dans des e-mails de message dans Outlook 2007 après avoir lui-même directement cliquer sur l'option lorsque vous sélectionnez une pièce jointe, ou le contenu d'un fichier dans l'explorateur de fichiers Vista lorsque mis en évidence. The preview will be shown in L'aperçu sera affiché dans une preview pane le volet d'aperçu in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. dans Outlook 2007 et Vista disposition, et donc les utilisateurs n'ont pas besoin d'ouvrir les fichiers dans des programmes externes ou des applications.

XML file preview in Windows Vista Fichier XML aperçu de 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. Par défaut, l'intégration de la fonctionnalité de prévisualisation des a seulement un peu appuyé gestionnaires pour limiter les types de fichiers et extensions comme des documents Word, présentations PowerPoint, feuilles de calcul Excel, \ fichiers de police, des fichiers audio et vidéo, et une variété d'autres types de fichiers que sont généralement envoyés comme pièces jointes. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) les documents qui est populaire et largement utilisé est à gauche. However, Microsoft Developer Network (MSDN) provides a Toutefois, Microsoft Developer Network (MSDN) fournit un sample preview handlers sample preview manutentionnaires which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. que vous pouvez télécharger et installer afin de a la capacité de prévisualiser les documents Adobe PDF dans Vista et Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have Toutefois, le développeur utiliser Adobe contrôle ActiveX pour le lecteur PDF Acrobat mise en œuvre, ce qui nécessitera utilisateurs d'avoir Adobe Reader Adobe Reader or ou Adobe Acrobat Reader Adobe Acrobat Reader installed. installé.
If you’re using alternative Acrobat PDF reader like Si vous utilisez Acrobat PDF d'autres comme lecteur 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 , Vous devrez modifier le fichier PDF aperçu gestionnaire de code source afin que Windows Vista et Office Outlook 2007 peut prendre en charge l'API Foxit Reader correctement, comme indiqué par timheuer .
The file to modify is PdfPreviewHandler.cs from the Le fichier à modifier est de la PdfPreviewHandler.cs free preview handlers add-on download from MSDN gratuit gestionnaires add-on de téléchargement MSDN (link at the bottom). (lien en bas). Go to about line 41 and change to the following: Aller à près de la ligne 41 et changer à ce qui suit:
// Foxit Reader ActiveX / / Foxit Reader ActiveX
public PdfAxHost() PdfAxHost public ()
: 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. Ensuite, la méthode pinvoke doit être changé que Adobe contrôle ActiveX et l'API utilise un loadFile () la signature, mais utilise une Foxit OpenFile () signature. Foxit also uses a second parameter which is the starting page of the document. Foxit utilise également un second paramètre qui est la première page du document. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Ainsi, localiser le loadFile dans le fichier, et changer pour OpenFile à ressemble à celui-ci:
_ocx.GetType().InvokeMember( _ocx.GetType (). InvokeMember (
"OpenFile", BindingFlags.InvokeMethod, null, // changed to OpenFile "OpenFile", BindingFlags.InvokeMethod, null, / / changé à OpenFile
_ocx, new object[] { fileName, 0 }, CultureInfo.InvariantCulture); // added 0 parameter to array _ocx, nouvel objet [] (fileName, 0), CultureInfo.InvariantCulture) / / 0 paramètre ajouté au tableau
Save the file, compile and deploy. Enregistrez le fichier, compiler et déployer des applications. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. Et maintenant, vous aurez un aperçu des capacités PDF sous Windows Vista et Office 2007 sans avoir besoin d'Adobe Acrobat Reader. Note that you will need to get Notez que vous devrez obtenir 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. pour que cette version modifiée de Foxit PDF previewer au travail, non seulement l'installation de Foxit Reader, avec le chargement ou la redevance appliquée.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANT: Il s'agit d'une machine qui traduit la page est fourni «tel quel», sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S’il vous plaît se référer à original English article l'article original en anglais whenever possible. chaque fois que possible.
Share and contribute or get technical support and help at Partagez et contribuer ou obtenir de l'aide technique et l'aide à My Digital Life Forums Ma vie numérique forums .
Related Articles Articles connexes
- Foxit PDF Preview Handler Free Download Foxit PDF Aperçu gestionnaire de téléchargement libre
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Téléchargement gratuit: Vista et Office 2007 Aperçu gestionnaire Pack de soutenir plus les types de fichiers
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Télécharger. Cs,. Vb,. Js et. Sql Fichiers Code Handler Preview pour Windows Vista et Outlook 2007
- Enable Previews in Windows Vista Folders with Preview Pane Activer les aperçus de Windows Vista dossiers avec le volet d'aperçu
- Reset “Always Warn Before Previewing This Type of File” Setting in Outlook 2007 Réinitialiser "Toujours avertir avant d'prévisualisation Ce type de fichier" dans Outlook 2007
- Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening Aperçu C #, Visual Basic et C + + fichiers de code source directe dans les annexes, sans les ouvrir,
- Alternatives To Adobe Acrobat Reader Alternatives à Adobe Acrobat Reader
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader PDF Viewer alternative à Acrobat Reader: Foxit Reader
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions Téléchargement gratuit: Aperçu association gestionnaire éditeur au groupe même type de fichier avec des extensions différentes
- Adobe PhotoShop (PSD) Preview Handler Free Download Adobe Photoshop (psd) Aperçu gestionnaire de téléchargement libre
















May 27th, 2008 14:40 27ème Mai, 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)”. Il n'est pas nécessaire de modifier rien, juste associé. Pdf (il ya beaucoup de preview gestionnaire association des éditeurs) avec "MSDN Magazine Internet Explorer aperçu handler" et vous aurez le véritable travail FoxitReader ActiveX comme gestionnaire pas aperçu que buggy et limité "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. Même chose pour chaque type de fichier que InternetExplorer ou l'un de ses plugins peuvent gestionnaire.