Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader Zmeniť Vista a Office 2007 súborov a Zabavenie Náhľad handler na podporu Foxit PDF Reader
In V Windows Vista Windows Vista 's File Explorer and 's súboru Explorer a 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. mať funkciu, ktorá vám umožňuje zobraziť náhľad prílohy v e-mailovej správy z programu Outlook 2007 sám priamo po kliknutí na náhľad možností pri výbere prílohu, alebo obsah súboru v súbore Vista Explorer pri zvýraznené. The preview will be shown in V náhľadu sa objaví v preview pane náhľad okna in Outlook 2007 and Vista layout, and thus users need not to open the files in external programs or applications. v programe Outlook 2007 a Vista layout, a tak používatelia nemusia otvárať súbory v externé programy alebo aplikácie.

XML file preview in Windows Vista XML súbor náhľadu vo 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. V predvolenom nastavení je postavený-v rodnom náhľadu má funkciu len niekoľko podporovaných handler pre obmedzené typy súborov a rozšírenie, ako Word, PowerPoint prezentácie, Excel, \ font obrázkov, videa a zvukové súbory, a niekoľko ďalších typov súborov, ktoré bežne odoslať ako prílohu. PDF (Portable Document Format) documents which is popular and widely used is left out. PDF (Portable Document Format) doklady, ktoré je populárne a široko používané, je vynechaná. However, Microsoft Developer Network (MSDN) provides a Avšak, Microsoft Developer Network (MSDN) poskytuje sample preview handlers náhľad vzorky handler which you can download and install in order to has the ability to preview Adobe PDF documents in Vista and Outlook 2007. , Ktorý si môžete stiahnuť a nainštalovať, aby sa má schopnosť náhľadu Adobe PDF dokumentov v Vista a Outlook 2007. However, the developer use Adobe ActiveX control for the Acrobat PDF reader implementation, which will require users to have Avšak developer použitie ovládacieho prvku ActiveX pre program Adobe Acrobat PDF plnenia, ktorá bude požadovať, aby používatelia majú Adobe Reader Adobe Reader or alebo Adobe Acrobat Reader Adobe Acrobat Reader installed. nainštalovaný.
If you're using alternative Acrobat PDF reader like Ak používate alternatívne Acrobat PDF čitatelia radi 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 , Potom budete musieť zmeniť PDF náhľad handler zdrojový kód tak, že Windows Vista a Office Outlook 2007 môže podporovať Foxit Reader API správne, jak radí timheuer timheuer . .
The file to modify is PdfPreviewHandler.cs from the Súbor upraviť je PdfPreviewHandler.cs od free preview handlers add-on download from MSDN zdarma náhľad manipulujú add-on stiahnuť z MSDN (link at the bottom). (odkaz v dolnej časti). Go to about line 41 and change to the following: Prejsť na cca 41 riadkov a zmeňte na nasledujúce:
// 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. Ďalej sa pinvoke metóda má byť zmenený Adobe ovládací prvok ActiveX a API používa LoadFile () podpis, ale Foxit používa OpenFile () podpis. Foxit also uses a second parameter which is the starting page of the document. Foxit používa aj druhý parameter, ktorý je predvolený stránku dokumentu. So locate the LoadFile in the file, and change to OpenFile to looks like the following: Takže nájdite LoadFile v súbore a zmeny OpenFile to vyzerá takto:
_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. Uložte súbor, skompilovať a nainštalovať. And now you will have PDF preview capability in Windows Vista and Office 2007 without the need of Adobe Acrobat Reader. A hned budete mať PDF náhľad schopnosti Windows Vista a Office 2007 bez nutnosti Adobe Acrobat Reader. Note that you will need to get Všimnite si, že budete musieť získať 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. Aby túto modifikovanú verziu Foxit PDF divák predpremiéra do práce, nie len inštalovať Foxit Reader, s poplatkami alebo licenčné poplatky používať.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.
Related Articles Súvisiace články
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types Zdarma na stiahnutie: Vista a Office 2007 Náhľad Handler Pack pre podporu viacerých typov súborov
- Foxit PDF Preview Handler Free Download Foxit PDF Předešlý Handler Bezplatne k stiahnutiu
- Download Free PDF File Reader Foxit Reader 3.0 Zdarma stiahnuť PDF súborov Foxit Reader Reader 3.0
- Adobe Reader 8.1 Full Version Installer Free Download for Vista and Office 2007 Adobe Reader 8.1 Plná verzia Inštalátora Bezplatne k stiahnutiu pre Vista a Office 2007
- Alternative PDF Viewer to Acrobat Reader: Foxit Reader Alternatívny prehliadač PDF pre Acrobat Reader: Foxit Reader
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007 Download. Cs. Vb,. Js a. Sql súbory Kód Náhľad Handler pre Vista a 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 Voľný Microsoft Office Professional 2007 a Groove 2007 pre Připraveno pre novú Denný Windows Vista, Office a Exchange 2007 začne turné Účastníci
- Online Preview and Download Microsoft Office System 2007 Beta 2 Full Release Online Předešlý a Prevziať Microsoft Office System 2007 Beta 2 Úplné Vydanie
- New Microsoft Office 2007 File Formats and Extensions for Word, Excel and PowerPoint Files Microsoft Office 2007 nové formáty súborov a rozšírenie pre Word, Excel a PowerPoint súborov
- Scout for Microsoft Office 2007 Add-In Preview Scout pre Microsoft Office 2007 Add-in Ukážka










































May 27th, 2008 14:40 27. mája 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)”. Nie je potrebné nič meniť, stačí asociovat. Predĺženie pdf (existuje veľa náhľad handler združenia editory) s "MSDN Magazine Internet Explorer náhľad handler" a budete musieť pracovať v reálnom FoxitReader ActiveX ako náhľad handler ne že buggy a obmedzenej "FoxitReaderSDK (ActiveX)." Same for every file type that InternetExplorer or one of his plugins can handler. Rovnaké pre každý typ súboru, ktorý InternetExplorer ani jeden z jeho pluginy môžu handler.