Sergey, You can use an ActiveX control. I am using Acrobat Reader 6.0, but I think that Acrobat Reader 5.0 should have an ActiveX control as well. If not then download Acrobat Reader 6.0. You can use this ActiveX control to open and view the PDF through a container on a LabVIEW front panel.
How I did this: Go to the Containers and add an ActiveX Container. Right click on the container and select insert ActiveX object, select Abode Acrobat Control for ActiveX, and click ok. Then on the Block Diagram go to Application Control and add an invoke node. Wire the ActiveX Container control to the invoke node, right click on the invoke node, methods, and Load File. Wire a string containing the path to the file to fileName. Add a second invoke method and select the method to be gotoFirstPage. Hope this helps. Regards, Chad Powell Blue Ridge Test, Inc. 1206 Brigade Place Forest, VA 24551 Phone: 434 525 7312 www.BlueRidgeTest.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Liberman Sent: Thursday, June 17, 2004 2:45 PM To: Info-LabVIEW Subject: Opening Acrobat Doc from LV Hi all, I am trying to open an Adobe Acrobat document (a manual for my program) from a LabVIEW program that will be deployed on a customer's computer. I was able to do it using System Exec with a command line like "C:\Program Files\Adobe\Acrobat 5.0\AcroRd32.exe" "C:\Manuals\My Manual.pdf" For that, I needed to find the absolute path to the Acrobat Reader on the target computer which I do by interrogating the Windows registry. It works fine, but I have a feeling that the same goal can be achieved by simpler means. Anyone can tip me on how to do it? Thanks, Sergey Liberman [EMAIL PROTECTED] Solidus Integration http://solidusintegration.com
