Hi,
I'm trying to get the page count from a pdf document (in Adobe Reader).
I keep track of the current page internally but without the page count, I can't detect when I've reached the end of the document.
I've tried catching error messages from DdeClientTransaction but even when I navigate (DocGoTo[ ]) using a negative number, no error message gets returned.
Adobe Reader handles this by navigating to page 1 (which is logic) but not practical from a developer's POV in terms of callback.
I know DDE has a very limited set of functions when looking at OLE but Reader can't be used for that (except for AxAcroPDFLib.AxAcroPDF but that's not an option either since that interface doesn't include a 'pagecount' property as well).
Thanks in progress,
Forcecast