Have just started using VB again.

Am developing a database in Access that lists .pdf files.

When they select one, adobe reader is supposed to run, opening the file they selected.

In attempting to find out if Adobe is installed, I am trying to use:

svAcroPath = System.PrivateProfileString ("", "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Document\shell\open\command", "")


Whenever I run, I get the 'Object Required' error no matter what I try.

Am I missing some .dll or something?

Thanks,
Mike