These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Open Adobe Acrobat by default over Reader VB6

safsar
Registered: Oct 17 2007
Posts: 2

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?

My Product Information:
Acrobat Standard 5, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes there is, but it has to be done outside the Acrobat IAC.

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