Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locating MSACCESS.EXE

  • Thread starter Thread starter WP
  • Start date Start date
Status
Not open for further replies.

WP

Programmer
Joined
Nov 30, 1999
Messages
463
Location
CH
In dynamically creating a shortcut for my ACCESS db. I need to locate the path of MSACCESS.EXE. <br>
<br>
Does anyone know how I might do this using VBA code? <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
 
Use API call to access the registry. The install location of office is in the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\BinDirPath<br>
Access is then in this directory.<br>
The above key assumes that the version of Office that you have is Office 97. If you have nother version then check the version key in the registry.<br>
<br>
James :-)
 
need API help?<br>
Book <br>
Visual Basic Programmer's Guide to the WIN32 API<br>
By Dan Appleman<br>
Publisher= Ziff Davis<br>
ISBN 1-56276-446-2<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top