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 File 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 File Explorer, коли виділено. The preview will be shown in Preview буде показана в 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 Обробники зразків Preview 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 реалізації, яка вимагає, щоб користувачі мали 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 Preview вихідний код так, що Windows Vista і Office Outlook 2007 може підтримувати Foxit Reader API належним чином, як це рекомендовано timheuer 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 і 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 програма для перегляду на роботу, а не просто встановити Foxit Reader, з зарядом або ліцензійного збору застосовується.
IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.
Related Articles Статті за Темі
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Free Download: Vista і Office 2007 Preview Handler Pack для підтримки більш Типи файлів
- Foxit PDF Preview Handler Free Download Foxit PDF Preview Handler Free Download
- Download Free PDF File Reader Foxit Reader 3.0 Завантажити безкоштовно Файл PDF Reader Foxit Reader 3.0
- Adobe Reader 8.1 Full Version Installer Free Download for Vista and Office 2007 Adobe Reader 8.1 Повна версія Free Download установки для Vista і Office 2007
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader Альтернативні PDF Viewer для Acrobat Reader: Foxit Reader
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Завантажити. CS,. VB,. JS і. SQL файлів кодекс Preview Handler для Vista і Outlook 2007
- Free Microsoft Office Professional 2007 and Groove 2007 for Ready for a New Day Windows Vista, Office and Exchange 2007 Launch Tour Attendees Безкоштовні Microsoft Office Professional 2007 і Groove 2007 Готовий до New Day Windows Vista, Office 2007 і Exchange Ракета Учасники туру
- Online Preview and Download Microsoft Office System 2007 Beta 2 Full Release Інтернет перегляду та завантаження системи Microsoft Office 2007 Beta 2 Повна випуску
- New Microsoft Office 2007 File Formats and Extensions for Word, Excel and PowerPoint Files Новий Microsoft Office 2007 Формати файлів і розширень для Word, Excel і PowerPoint файли
- Scout for Microsoft Office 2007 Add-In Preview Scout для Microsoft Office 2007 Add-In Preview










































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 обробника перегляду Explorer", і у вас буде робоча реального FoxitReader ActiveX як обробника перегляду не що екіпаж і обмеженого "FoxitReaderSDK (ActiveX)". Same for every file type that InternetExplorer or one of his plugins can handler. Однакові для всіх типів файлів, які InternetExplorer або один з його модулів може обробника.