Hi Sergey, At least on the old Macs I used to open pdf files by simply sending an Apple Event to open a particular file type with its assigned application. It is something like programmatically double clicking the file icon which opens the Acrobat Reader in case of a pdf resource.
I the Classic MacOS the VI is called ''AESend Finder Open.vi''. You feed the function a full path of the folder containing the files plus the name of the file you want to open. This could also be more than one file because the input is an array of filenames as strings. There must be an equivalent on the politically correct platform too I think. I am at the moment on a regular Mac and I don't know exactly how this is done under LabVIEW for MacOS-X. I assume there must be something equivalent to ''AESend Finder Open.vi'' there too. Hope this helps a little Urs Urs Lauterburg Physics demonstrator LabVIEW wireworker Physics Institute University of Bern Switzerland >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
