T wrote:
T wrote:
salad wrote:
T wrote:
>
Using 97, I have a db and I also have with many scanned pdf's
all contained in one folder.
Within form view I would like a user to be able to click a
browse button and select a pdf file and have if open from and
display the pdf. If the image is a jpg, gif or bmp this isn't a
problem, but it seems with pdf there is a problem.
Any idea's on how to accomplish this?
Take a look at http://www.mvps.org/access/api/api0018.htm.
>
I'll assume, that if you were to click the pdf file from
Explorer, it will open correctly.
Not using explorer --form view of access.
Yes, but the same principal applies. Double-Clicking a file in Explorer tells
Windows to open that file with whatever program has been associated with that
file type. The API code that is found at the link salad provided above would
allow you to run code in your Access form that "opens a file with whatever
program has been associated with that file type".
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com