The code at http://www.mvps.org/access/api/api0012.htm will return various
system metrics, such as screen resolution. I'm not sure if it returns dpi -
it doesn't seem so from my quick perusal of the various constants included
in the declaration section; I'm not aware of any other source of code for
doing that, but hopefully someone else will know how it can be done.