Kamis, 12 April 2012

[MS_AccessPros] When referenced programs are updated

 

I open pdf files by first referencing the Acrobat program. However, when that program is upgraded, I have to change to code.

stApp = "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
stFile = "H:\JarDrawings\" & stFolder & "\" & Me.BaseJar & ".pdf"
Call Shell(stApp & " " & stFile, 4)

Is there a better way to do this to automatically account for upgrades (in this case Reder 9.0 to 10.0), of when different users have different versions?

Adam
Denver, CO

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar