Page 1 of 1

Using Registry to find stuff

Posted: Fri Aug 07, 2009 2:33 pm
by ConvertFromOldNGs
by Clarrie Pearce >> Wed, 14 Mar 2001 2:16:20 GMT

Has anyone written routines to use 95 / NT Registry to find (for example) whether Adobe Reader is installed and where the .exe resides and its name.

I want to fire up Adobe and pass it a file but need to know where it is / if it is at all.

Thanks Clarrie

Re: Using Registry to find stuff

Posted: Fri Aug 07, 2009 2:33 pm
by ConvertFromOldNGs
by Craig Shearer >> Wed, 14 Mar 2001 18:52:00 GMT

Perhaps a better way to handle this is to use _shellExecute. Using this, you just tell Windows to open a .pdf file and it knows what application to use to open it.

Then you don't have to worry about where Adobe Acrobat is installed, etc.

Craig.