Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Изменить Vista и Office 2007 файл и прослушать вложения погрузчиков для поддержки Foxit PDF Reader
In В Windows Vista Windows Vista ’s File Explorer and 'S Файл Explorer и 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. есть функция, которая позволяет Вам просматривать вложения в почтовое сообщение из Outlook 2007 году непосредственно после нажмите на предварительный вариант, когда вы выберите вложение, или содержание файлов в Vista файл Explorer, когда внимание. The preview will be shown in Предварительный будет показан в preview pane панель предварительного просмотра in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. В Outlook 2007 и Vista макет, и, таким образом, пользователям не нужно открывать файлы во внешних программ или приложений.

XML file preview in Windows Vista XML файл предварительный просмотр в 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. По умолчанию, встроенные в родной прослушать функция имеет всего несколько обработчики поддерживают ограниченные типы файлов и расширений, таких, как документы Word, PowerPoint презентации, электронные таблицы Excel, \ шрифт файлы, видео и аудио файлы, и ряд других типов файлов, что обычно направляются в качестве вложения. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) документы, которые популярна и широко используется опущено. However, Microsoft Developer Network (MSDN) provides a Однако, Microsoft Developer Network (MSDN) предоставляет sample preview handlers образец предварительного погрузчиков which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. который вы можете скачать и установить в целях имеет возможность предварительного просмотра Adobe PDF документы в Vista и Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have Тем не менее, разработчик использованием Adobe ActiveX Control для Acrobat PDF Reader осуществления, которые будут требовать от пользователей иметь Adobe Reader Adobe Reader or или Adobe Acrobat Reader Adobe Acrobat Reader installed. установлен.
If you’re using alternative Acrobat PDF reader like Если вы используете альтернативные Acrobat PDF Reader, как 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 , То вам нужно изменить PDF предварительный обработчик исходный код с тем, что Windows Vista и Office Outlook 2007 может поддерживать Foxit Reader API правильно, как это рекомендовано в timheuer .
The file to modify is PdfPreviewHandler.cs from the Размер файла изменить это PdfPreviewHandler.cs от free preview handlers add-on download from MSDN бесплатно прослушать погрузчиков надстройку можно загрузить из MSDN (link at the bottom). (ссылка внизу). Go to about line 41 and change to the following: Перейти на линии около 41 и изменить на следующее:
// 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. Далее, pinvoke метод должен быть изменен, как Adobe ActiveX Control API, и использует LoadFile () подписи, но foxit использует OpenFile () подпись. Foxit also uses a second parameter which is the starting page of the document. Foxit также использует второй параметр, который является отправной странице документа. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Так найдите LoadFile в файл, и изменения к OpenFile выглядит следующим образом:
_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. Сохраните файл, компилировать и развертывать. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. И теперь у вас будет возможность прослушать PDF в Windows Vista и Office 2007 без необходимости Adobe Acrobat Reader. Note that you will need to get Имейте в виду, что вам нужно получить 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. Для того чтобы этого модифицированную версию Foxit PDF previewer работать, а не только установить Foxit Reader, с зарядом или лицензионного сбора применяется.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. ВАЖНО: Это машина переведена страницу, которая предоставляется "как есть" без гарантии. Machine translation may be difficult to understand. Машинный перевод может быть трудным для понимания. Please refer to Пожалуйста, обратитесь к original English article Английский оригинальные статьи whenever possible. когда это возможно.
Share and contribute or get technical support and help at Делите и вклад или получить техническую поддержку и помощь в My Digital Life Forums Моя Цифровая жизнь Форумы .
Related Articles Статьи по теме
- Foxit PDF Preview Handler Free Download Foxit PDF предварительный обработчик скачать бесплатно
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Загрузка. CS,. В.Б.,. JS и. SQL-файлы кодекса Предварительный грузов для Vista и Outlook 2007
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Free Download: Vista и Office 2007 предварительный обработчик пакета обновления для поддержки более типов файлов
- Enable Previews in Windows Vista Folders with Preview Pane Включение предпросмотром в Windows Vista папки с панели предварительного просмотра
- Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening Предварительный C #, Visual Basic и C + + Исходный код в файлы прямого вложения Без Открытие
- Reset “Always Warn Before Previewing This Type of File” Setting in Outlook 2007 Сбросить "Всегда Предупреждать До Предварительный Этот тип файла" Установка в Outlook 2007
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions Free Download: предварительный обработчик Ассоциации редактора группы одного типа файлов с различными расширениями
- Adobe PhotoShop (PSD) Preview Handler Free Download Adobe Photoshop (СДП) Предварительный обработчик скачать бесплатно
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader Альтернативные PDF Viewer для Acrobat Reader: Foxit Reader
- Alternatives To Adobe Acrobat Reader Альтернативы для Adobe Acrobat Reader

































May 27th, 2008 14:40 27 мая 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)”. Существует не надо ничего изменять, просто работником. Продлении PDF (Есть много предварительный обработчик ассоциации издателей) с "MSDN Magazine Internet Explorer предварительный обработчик", и у вас будет реальный рабочий FoxitReader ActiveX, как предварительный обработчик не в том, что багги и ограниченных "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. То же самое и для каждого типа файлов, что InternetExplorer или один из его плагинов можно обработчик.