I have an Access application which starts like this:
c:\program files\microsoft office\office12\msaccess.exe h:\appdir\application.mdb /wrkgrp H:\appdir\wrkgrpfile.mdw.
The problem is that I don't know what kind of version of MSOffice the users have.
It could be Access2000, Access2003 or Access2007.
Microsoft uses different paths for each version of office like
Program Files\MsOffice for the 2000 version
Program Files\MsOffice11 for the 2003 version
Program Files\MsOffice12 for the 2007 version
And in addition you have country specific Program Dir's, but I suppose you could use [ProgramDir]
for this.
Question is how do I get the right path shown in Bold above?
regards
ReidarT
FOLLOW US
Get the latest news in Application Packaging