Hello ... my Dad is dabbling in VB & has a question about invoking a PDF (to
display a help file or manual). Myself, I don't know VB - but I *do* know
how to post to a NG <g>. If anyone has a solution, I would pass it on with
appreciation. Thanks! - Tim
=====================================
I'd like to include in a Visual Basic (VB6) program a command that would
bring up the User's Manual. I'm pretty much settled on the idea that the
manual should be an Acrobat .pdf file (as being the most common
denominator).
It's easy enough to have a statement like:
Shell ("... (tree path) ... Acrord32.exe FileName.pdf,
vbMaximizedFocus)
which works fine on my machine, where I know what the pathname is, but the
problem is, based on a review of our two computers and another, that the
user's machine might have any of a half-dozen versions of acrobat's
PDFreader. So how to find the path and name?
It occurs to me that Windows has some way of solving this. Click on any
..pdf file and Windows opens it with whatever Acrobat reader it chooses (not
neccessarily the latest version on the computer). How does Windows locate a
reader? Is there a simple way I can have my program find it? Or better
still, get it found by some Windows default?