ACC2000: How to Determine the Current Screen Resolution (210106)
The information in this article applies to:
This article was previously published under Q210106 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
This article shows you how to create a sample user-defined Visual Basic
for Applications function to determine the current screen resolution.
You can use this function to determine if you are running in standard
VGA mode (640 x 480) or Super VGA mode (800 x 600, 1024 x 768 or 1600 x 1200).
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCES
For additional information about API Calls, please see the following
article in the Microsoft Knowledge Base:
210115 How to Convert API Calls from 16-bit to 32-bit
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdisplay kbhowto kbProgramming KB210106 |
---|
|