Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Modificar Vista y Office 2007 del archivo adjunto y Manipuladores de vista previa para apoyar Foxit PDF Reader

In En Windows Vista Windows Vista 's File Explorer and 's y el Explorador de archivos 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. tienen una característica que le permite una vista previa de un archivo adjunto en el mensaje de correo electrónico desde dentro del propio Outlook 2007, inmediatamente después de hacer clic en la opción de vista previa cuando selecciona un archivo adjunto, o el contenido de un archivo en el Explorador de archivos Vista cuando destacó. The preview will be shown in La vista previa se muestra en preview pane panel de vista previa in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. en Outlook 2007 y Vista diseño, y por lo tanto, los usuarios no necesitan para abrir los archivos de programas externos o aplicaciones.

Vista Panel de vista previa
XML file preview in Windows Vista Archivo XML de vista previa en 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 defecto, el construido en función de vista previa nativos sólo unos pocos tratan con el apoyo limitado de tipos de archivo y extensiones, como documentos de Word, presentaciones de PowerPoint, hojas de cálculo de Excel, \ archivos de fuentes, archivos de vídeo y audio, y una variedad de otros tipos de archivo que se envían como archivos adjuntos. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) los documentos que es muy popular y ampliamente utilizado es excluido. However, Microsoft Developer Network (MSDN) provides a Sin embargo, Microsoft Developer Network (MSDN) ofrece un sample preview handlers muestra una vista previa de los manipuladores which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. que se puede descargar e instalar para poder tiene la capacidad de vista previa de documentos Adobe PDF en Vista y Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have Sin embargo, el desarrollador de uso del control ActiveX de Adobe Acrobat para la aplicación lector de PDF, que requieren que los usuarios han Adobe Reader Adobe Reader or o Adobe Acrobat Reader Adobe Acrobat Reader installed. instalado.

If you're using alternative Acrobat PDF reader like Si está utilizando alternativas como el lector de Acrobat PDF 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 , Entonces usted tendrá que modificar el PDF manejador de vista previa para que el código fuente de Windows Vista y Office Outlook 2007 pueden apoyar Foxit Reader API correctamente, según las indicaciones de timheuer timheuer . .

The file to modify is PdfPreviewHandler.cs from the El archivo a modificar es PdfPreviewHandler.cs de la free preview handlers add-on download from MSDN gratuita manipuladores add-on de descarga de MSDN (link at the bottom). (enlace en la parte inferior). Go to about line 41 and change to the following: Ir a la línea 41 y sobre los cambios a las siguientes:


// 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. A continuación, el pinvoke método tiene que ser cambiado como Adobe ActiveX control y utiliza una API de loadfile () la firma, pero utiliza un Foxit OpenFile () firma. Foxit also uses a second parameter which is the starting page of the document. Foxit también utiliza un segundo parámetro que es la página de inicio del documento. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Por lo tanto, busque la loadfile en el archivo y, a cambio de OpenFile ve así:


_ocx.GetType().InvokeMember(
"OpenFile", BindingFlags.InvokeMethod, null, // changed to OpenFile
_ocx, new object[] { fileName, 0 }, CultureInfo.InvariantCulture); // added 0 parameter to array
new object
_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. Guarde el archivo, compilar y desplegar. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. Y ahora usted tendrá la capacidad de vista previa de PDF en Windows Vista y Office 2007 sin necesidad de Adobe Acrobat Reader. Note that you will need to get Tenga en cuenta que tendrá que obtener 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 versión modificada de Foxit PDF previewer al trabajo, no sólo la instalación de Foxit Reader, con cargo o canon aplicado.

IMPORTANT : The page is machine translated and provided "as is" without warranty. IMPORTANTE: La página está traducida máquina y proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.


One Response to “Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader” Una Respuesta a "Modificar Vista y Office 2007 del archivo adjunto y Manipuladores de vista previa para apoyar Foxit PDF Reader"

  1. dott dott
    May 27th, 2008 14:40 27 de mayo de 2008 14:40
    1 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)”. No hay necesidad de modificar nada, solo socio. Pdf (hay un montón de vista previa manejador de asociación de los editores) con "MSDN Magazine manejador de vista previa de Internet Explorer" y tendrá el verdadero trabajo FoxitReader ActiveX como manejador de vista previa que no buggy y limitada "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. Mismo para cada tipo de archivo que InternetExplorer o uno de sus plugins puede manejador.

Leave a Reply Deje una contestación

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> Usted puede utilizar estas etiquetas: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <datetime del = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Suscribirse a los comentarios Se ha desactivado la característica. To receive notification of latest comments posted, subscribe to Para recibir la notificación de la última envió comentarios, suscribirse a My Digital Life Comments RSS feed Mi vida digital Comentarios RSS or o register to receive registrarse para recibir new comments in daily email digest. nuevos comentarios en el email diario digerir.
Custom Search

New Articles Nuevos artículos

Incoming Search Terms for the Article Próximos Términos de búsqueda para el artículo

2007 Outlook wav Wav Outlook 2007 - -- modifying attachment viewers in outlook 2007 modificar adjuntos en Outlook 2007 espectadores - -- outlook 2007 pdf preview acrobat 9 vista previa de Outlook 2007 pdf acrobat 9 - -- outlook previewer wav perspectivas previewer wav - -- .wav files previewers . wav previewers - -- office attacjment and document previewers attacjment oficina y el documento previewers - -- outlook previewer .wav perspectivas previewer. wav - -- outlook pdf previewer perspectivas pdf previewer - -- pdf preview handler for vista x64 PDF manejador de vista previa de Vista x64 - -- acrobat 9 preview file handler vista acrobat 9 manejador de vista previa de archivos de Vista - -- why can not preview word attach in office 2007 outlook ¿por qué no puede adjuntar una vista previa de la palabra en el cargo perspectivas 2007 - --