I have Adobe Acrobat 5 and Acrobat Reader 5.1 on the same server. We need both because one application uses Reader and the other has to have Acrobat. In the VB6 application that calls Acrobat, the code is:
Set oAcrobat = CreateObject("AcroExch.App")
Set oDoc = CreateObject("AcroExch.AVDoc")
...remove menu items....
oAcrobat.Show
The problem is sometimes it defaults to open Reader even after I set the default in the registry to Acrobat. Is there a way to prgrammatically make sure I open Acrobat instead of Reader?
However, you said something that is a bit bothersome. You mentioned the word "Server". You cannot use either of these applications on a server. It is strictly forbidden by the Acrobat License. If you are in fact using Acrobat in the context of a server script you are in clear violation of the EULA and the media police will be knocking on your door very soon.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script