By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,808 Members | 1,481 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,808 IT Pros & Developers. It's quick & easy.

Determining screen resolution in a procedure?

P: n/a
MLH
I would like to know if a user's pc running an Access
2.0 application has 800x600 resolution. Actually, I
would like to know the resolution in any case. Are
there 16-bit API calls that will return the setting?
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
MLH <CR**@NorthState.net> wrote:
I would like to know if a user's pc running an Access
2.0 application has 800x600 resolution. Actually, I
would like to know the resolution in any case. Are
there 16-bit API calls that will return the setting?


API: System Metrics
http://www.mvps.org/access/api/api0012.htm

Presumably this has a 16 bit equivalent. You may have to do some searching to locate
the code.

OTOH you could change user32 to user, and the longs to integers, and see if the call
works.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #2

P: n/a
MLH
Thx, Tony, You're exactly right. I looked at this
code & was able to uncover 16-bit equivalent.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Mon, 22 Dec 2003 23:13:16 GMT, Tony Toews <tt****@telusplanet.net>
wrote:
MLH <CR**@NorthState.net> wrote:
I would like to know if a user's pc running an Access
2.0 application has 800x600 resolution. Actually, I
would like to know the resolution in any case. Are
there 16-bit API calls that will return the setting?


API: System Metrics
http://www.mvps.org/access/api/api0012.htm

Presumably this has a 16 bit equivalent. You may have to do some searching to locate
the code.

OTOH you could change user32 to user, and the longs to integers, and see if the call
works.

Tony


Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.