Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 22nd, 2009, 11:53 AM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Open an Startup Form in Max and copatible with the resolution of the user's monitor

Hello,
I came from .Net programming to Access although it is not my first job in Access but this the most prof. one (In my science). I set up a form as start up form and It should be opened in the Max mod. My Max code uses of Docmd command and work perfect but the problem is some part of the form is unreachable from the users depend on the monitor resolution. How can I fix this problem?
Thank U
 
Old April 22nd, 2009, 12:28 PM
Authorized User
 
Join Date: Jul 2008
Posts: 38
Thanks: 1
Thanked 2 Times in 2 Posts
Default

You will need to do a search (Google for Microsoft Access Resize) for a form resizer. I know there is something out there for free but there is also some pay ones (Peter's Software I think is one of them) which can resize based on screen resolution.
__________________
Thanks,

Bob Larson
Access MVP (2008-2010, 2011)
Free Access tutorials, samples, tools
 
Old April 24th, 2009, 10:29 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Bob's advice about a form resizer is best. However, if it's too complicated for some users, I recommend something I do here.

Basically users in our office are set to one of three settings.
  • 800x600 (for CRT monitors but quickly becoming obsolete with LCD monitors),
  • 1024x768 (for both CRT & LCD),
  • 1280x1024 (for LCD) set at 120 dpi.
When our office starting replacing our CRT monitors with LCD, it quickly became obvious that the lower the setting, the fuzzier the monitor looked. Higher was crisper. However, the higher the setting, the smaller the screen contents and the more people complained that everything was too small to read. That's why the last setting was changed to 120 dpi (or 125% magnification).

Knowing that our office only had these three settings was good because I found code on-line that helps me detect screen resolution. From there, I perfected one form in high resolution, then created low and medium resolution versions of it. No recoding at all, just sizing things on the form accordingly.

When the program opens, an initial form reads the resolution, opens the proper size form, and then closes itself.

The only drawback is that if I make a minor code correction on one form, I have to use search & replace to get it in the other two. If I make a major code change on one form, I have to copy & paste it carefully on the other two. The former is more likely than the latter in my case.

This currently works for me quite well.
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set a form as startup form in vb.net 2.0 mallikalapati .NET Framework 2.0 1 February 21st, 2008 09:19 AM
How to get rid of everything except startup form. biglazy Access 9 March 23rd, 2006 07:33 PM
Best Monitor size and resolution [email protected] General .NET 1 June 15th, 2005 04:09 PM
Form Startup Order NeilS21 Beginning VB 6 2 February 26th, 2004 05:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.