> I have working code for executing the pdf file using the > ShellExecute API (which will have to be replaced for 16 bit use) > and now need code for determining the following:
> 1. Has Acrobat3.0 been installed, and if so where! > 2. Return the directory to the VB program. > 3. Install the pdf to the Acrobat directory.
Not sure why you need any of these....?
ShellExecute on a PDF file will either locate Acrobat Reader and display the file, or return a failure that can be interpreted as "Acrobat not installed properly".
If you must find out if it's 3.0, there will be some entry in the registry that can be used to check, though Adobe don't document what the registry differences are.
As to installing the PDF to the Acrobat directory - why put it there? That's the last place I'd want anyone putting PDF files on my system, as they could get mixed up with the ones which form part of the Acrobat installation.
There was some 16/32 bit compatible ShellExecute code posted a few days ago, that could be used to open a PDF file. ShellExecute is in 16-bit Windows but there are some subtle differences. ------------------------------------------------------------- Aandi Inston Quite Software Ltd. quite@dial.pipex.com http://ds.dial.pipex.com/quite/
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!