Hi,
Part of my MSAccess 2007 management application manages document.
By clicking on a document record it would open it using either OLE or DDE depending on the adobe version installed (full or only reader).
I have an unsolved problem with the OLE code.
Opening documents with AVDOC.Open works fine but will always open a new instance (new window) of adobe acrobat even if adobe acrobat is already active and open without document.
Weird as if you click on a pdf in explorer for instance it would open it it the existing window.
If I try to open it using creating a new instance of AcroExch.AVDOC and AVDOC.OpenInWindowEx the avdoc is populated with the file as AVDOC.Gettitle returns the title and AVDOC.IsValid returns true but the document does not show up in the existing adobe acrobat window.
What am I missing ?
Reason why I want to implement it is as working with two screens I want to have the adobe document on the second screen while working with the application on one screen. By using AVDOC.Open I always need to drag the new opened window to the other screen although there is an instance (window) of adobe acrobat open on the desktop without documents in it (I test it as it is obviously a correct behavior if there would be an open document in it).
thks in advance for advise.
Andre