<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OLE Automation Methods for Acrobat Reader in ActiveX Control in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/1246382#M525935</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/102243"&gt;@Porras&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;FONT color="#333333"&gt;Did you finally manage to do it?&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The project was scrapped when it became clear the cost to develop would overcome the benefit.&amp;nbsp;Hope it works better for you.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2010 18:33:49 GMT</pubDate>
    <dc:creator>JackDunaway</dc:creator>
    <dc:date>2010-09-13T18:33:49Z</dc:date>
    <item>
      <title>OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954493#M427978</link>
      <description>&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;When you drop an instance of an Adobe PDF Viewer into an ActiveX Container, you get a FP terminal that defaults to the "AcroPDFLib.IAcroAXDocShim" class. This appears to be "AxAcroPDFLib.AxAcroPDF" (refer to &lt;/FONT&gt;&lt;A href="http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf" target="_blank"&gt;&lt;FONT size="2" color="#0000ff"&gt;page 239&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size="2" color="#000000"&gt;) according to the Acrobat Interapplication Communication Reference. I would like to have access to all the different classes of Automation Methods (start at&amp;nbsp;page 5 in that document) such as the AcroExch.App and AcroExch.AVPageView.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Now, if you take the terminal, change it into a constant, you can right click on it and go to "Select ActiveX Class" at which point all available classes are available. (see below, how I have changed from the IAcroAXDocShim class to the CAcroApp class)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;In short: how can I access all of these methods on the original parent container that contains the document?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/2340iDF6751C4738E1F66/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="AdobeReaderMethods.png" title="AdobeReaderMethods.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2009 16:01:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954493#M427978</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2009-07-29T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954552#M427996</link>
      <description>&lt;P&gt;Here's a related question, and maybe has a more simple answer: I would like to programmatically determine what page in the document is currently being viewed in the container. How can I do so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2009 17:21:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954552#M427996</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2009-07-29T17:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954607#M428026</link>
      <description>I don't understand what you're trying to do. Why did you change the class? If you have the ActiveX container, why are you asking how to access the methods on the original parent container? You have the container.</description>
      <pubDate>Wed, 29 Jul 2009 18:37:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954607#M428026</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2009-07-29T18:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954616#M428032</link>
      <description>Please check out all the available methods &lt;A href="http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf" target="_self"&gt;in this reference document&lt;/A&gt;&amp;nbsp;in the table of contents starting on Page 5. The only methods available in LabVIEW are those under the AxAcroPDFLib.AxAcroPDF. I want to be able to access the other methods in other classes.</description>
      <pubDate>Wed, 29 Jul 2009 18:51:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954616#M428032</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2009-07-29T18:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954648#M428050</link>
      <description>&lt;P&gt;The &lt;SPAN class="noindex"&gt;AxAcroPDFLib.AxAcroPDF is the ActiveX control that can be embedded into any ActiveX container, whether it's LabVIEW or something else. The other classes refer to accessing the Acrobat Reader app itself, in the same way as Excel is manipulated using ActiveX. In that respect, it's two different worlds.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, are you trying to automate Acrobat, or use the browser control (&lt;SPAN class="noindex"&gt;AxAcroPDFLib.AxAcroPDF)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I just remembered and did a quick check to confirm: The other classes only apply to the retail version of Acrobat. They apparently do not apply to the Reader.&amp;nbsp; &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by smercurio_fc on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 07-29-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 02:36 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Jul 2009 19:36:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954648#M428050</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2009-07-29T19:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954700#M428068</link>
      <description>&lt;P&gt;Basically, it boils down to making a PDF viewer that is compatible with a&amp;nbsp;touchscreen monitor. The native PDF&amp;nbsp;controls are small, and do not conform to the UI standard implemented through the rest of the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New buttons would be created that allow for zooming in and out, fitting to page height/width, and a scrollbar. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To achieve such a goal, I need more methods than are available in the base ActiveX Reader control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a quick sketch that shows my goal: enlarged controls for an embedded PDF viewer. The items circled in RED would go away, replaced by LabVIEW controls that control the PDF viewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/2360i1E2FC5CE340B0900/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="TouchScreenPDF.png" title="TouchScreenPDF.png" align="center" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Oops, Fit Width button and Zoom In are duplicated. One should be Fit Page and the other Zoom Out. &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by mechelecengr on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 07-29-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 03:42 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Jul 2009 20:42:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954700#M428068</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2009-07-29T20:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954707#M428073</link>
      <description>Well, all that I can say is that it is what it is. The Reader ActiveX control is limited. If it doesn't have the capabilities you need, then you need to see if there's another ActiveX control available that has.</description>
      <pubDate>Wed, 29 Jul 2009 20:53:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954707#M428073</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2009-07-29T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954753#M428098</link>
      <description>Yeah, that's what I was afraid of. I have already searched the interweb with keywords like "Free PDF ActiveX Control", but have not yet come up with a solution without a distribution license fee. Having a fee is not necessarily a deal-breaker, so if anyone who has used a "highly configurable" PDF viewer with success, please ping me here.</description>
      <pubDate>Wed, 29 Jul 2009 22:05:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/954753#M428098</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2009-07-29T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/961858#M431078</link>
      <description>&lt;P&gt;I am currently running Adobe Acrobat V7 here and would like to be able to use ActiveX or another method&amp;nbsp;to create PDF files from within LabVIEW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a bit overwhelmed with the Active X classes I am being presented with!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2009 05:59:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/961858#M431078</guid>
      <dc:creator>tca-adam</dc:creator>
      <dc:date>2009-08-11T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/961867#M431084</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;mechelecengr wrote: &lt;BR /&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Now, if you take the terminal, change it into a constant, you can right click on it and go to "Select ActiveX Class" at which point all available classes are available. (see below, how I have changed from the IAcroAXDocShim class to the CAcroApp class)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;In short: how can I access all of these methods on the original parent container that contains the document?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt; I can't help you with Acrobat here but ActiveX consists really of two object types. One are ActiveX controls that have an UI and can be embedded in a container and the other are Active X Automation servers that can be instantiated as object but do not have any direct UI itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ActiveX container in LabVIEW will only show you ActiveX objects of the first type. To employ the other type you have to use the Automation Open function instead. Automation Open will instantiate (create) the Automation server object based on information in the registry and then gives you a refnum you can work with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When selecting an Active X control into a container the instantiation of the control is done automatically inside the control and that is why you do not have the need to execute an Automation Open for such objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need to get the full Acrobat to get all the functionality I wouldn't know, bu I have my doubts that you can do it with the Reader component alone. The ActiveX controlallows very little control of the visibility of its various components and the ActiveX Automation classes do not have an UI component you can embed in a container. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rolf Kalbermatter&amp;nbsp; &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rolfk on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 08-11-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 08:24 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Aug 2009 06:24:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/961867#M431084</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2009-08-11T06:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/1246194#M525886</link>
      <description>&lt;P&gt;&lt;FONT color="#333333"&gt;Hi, JackDunaway.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Did you finally manage to do it? What I need is similar than this. I want a PDF preview control on my FP, and I need to remove several items and toolbars from the PDF viewer window. I saw this is possible to do using several functions of the &lt;/FONT&gt;&lt;FONT size="2" color="#000000"&gt;&lt;FONT color="#333333"&gt;CAcroApp class, but I cannot manage to use this... I mean, taking a constant (like you showed in your picture) I get all the methods for the CAcroApp class, but how do I relate it with the ActiveX PDF preview control I have on my FP?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&lt;FONT color="#333333"&gt;On the other side, I want also to disable the Run-Time menu contained on the PDF preview control. It appears when I right-click the control, and has many posibilities I don't want the user of my application to be able to access...&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&lt;FONT color="#333333"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&lt;FONT color="#333333"&gt;Francisco&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:49:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/1246194#M525886</guid>
      <dc:creator>Porras</dc:creator>
      <dc:date>2010-09-13T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Automation Methods for Acrobat Reader in ActiveX Control</title>
      <link>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/1246382#M525935</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/102243"&gt;@Porras&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;FONT color="#333333"&gt;Did you finally manage to do it?&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The project was scrapped when it became clear the cost to develop would overcome the benefit.&amp;nbsp;Hope it works better for you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:33:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/OLE-Automation-Methods-for-Acrobat-Reader-in-ActiveX-Control/m-p/1246382#M525935</guid>
      <dc:creator>JackDunaway</dc:creator>
      <dc:date>2010-09-13T18:33:49Z</dc:date>
    </item>
  </channel>
</rss>

