Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adjusting the Monitor settings with code 1

Status
Not open for further replies.

ajorge

MIS
Mar 20, 2002
18
US
I have a database that is shared by 10 users each user has a different setting on their monitors is there a way to adjust the setting with code so when they login they all see the same screen sie and when the log out the screen goes back to there normal settings.


Alexander Jorge
City of Miami
Information System Analyst
[pc]
 
You can, and there is some code at
(again, you may need to tweak it to get it working in Access) but the question why needs to be asked.
Users tend to use a particular screen size for a reason. Modifying that is the height of arrogance, a non-standard way of working and very irritating to the users. A much better way would be to resize the forms and controls to match the screen size.

hth

Ben

----------------------------------------------
Ben O'Hara

"Where are all the stupid people from...
...And how'd they get so dumb?"
NoFX-The Decline
----------------------------------------------
 
Thank you for the idea.

Alexander Jorge
City of Miami
Information System Analyst
[pc]
 
There is a download available from which will do this for you.

hth

Ben

----------------------------------------------
Ben O'Hara

"Where are all the stupid people from...
...And how'd they get so dumb?"
NoFX-The Decline
----------------------------------------------
 
Ben!

Thanks again for this solution, it never made sense to me to change the resolution when in Access, It will hamper his work if he uses other programs. I really appreciate this.
 
Ben,

I have to respectfully disagree with your assertion that resizing forms to the user's screen resolution is the height of arrogance. Your statement is based on the fact that computer users know and actually care what their resolutions are set at. It has been my experience that many who use their computers, especially in the work environment, have no idea what their current screen resolutions are. They merely accept the default settings of the computer manufacturer or the IT techs. In many cases, this is 800x600 or even 640x480. They accept this and work with it. I have shown numerous co-workers how to simple it is to reset the screen to 1024x768 and they were amazed at how much more real estate that had to work with.

I develop my database apps at 1024x768, which of course, display differently at lower resolutions. In order for other users to get the desired effect, I have no problem at all with slapping in a module to resize the forms so they can get maximum benefit. To me, at least, going through the trouble of creating several versions of the same application with different form sizes, and then testing and retesting them at different resolutions is no different than including a resizer in the app - you are still ending up at the same point: a usable product for the end user.

Just my 0.02000000 cents worth
 
Umm... Not to stir things up, defint, but you seem to be arguing both sides here. Which do you advocate, resizing the forms, or changing the monitor resolution?

Just wondering...

Ken S.
 
I have to agree with Ben that I'd be irritated by a program that changes the screen resolution transparently.

I have to agree with defint that office users rarely know anything about screen resolutions and other settings.

How about having a tiny checkbox on the form that changes screen resolution at will. And closing the switchboard restore the screen resolution that was found at program startup?



[pipe]
Daniel Vlas
Systems Consultant

 
I agree there are some users that just don't know about screen size, but there are some, particularly of the older end of the scale, that need smaller screen sizes.
Why don't you design your screens using 1024x768, but make sure that users can access all of the screen if the resolution is too low, using scroll bars, then use the code on vbnet to detect the screen size and if it is not 1024x768 ask the user what they want to do: Carry On, Change screen temporarily, change screen permanently for this application only or change screen permanently for everything.
That way you don't have to worry too much about redesigning forms or resizing, which can have unpredictable results, I have to admit, and users aren't upset by the computer doing things they weren't expecting.
I didn't mean any offence to anyone when I called it the height of arrogance, but computers doing unexpected things like changing the position of all their icons on the desktop infuriate users and makes them feel out of control. I'll be the first to admit that I have fallen into this trap and have never heard the last of it!

Cheers

Ben

----------------------------------------------
Ben O'Hara

"Where are all the stupid people from...
...And how'd they get so dumb?"
NoFX-The Decline
----------------------------------------------
 
After reading my post again, I suppose it can be interpreted in more than one way. That’s what I get for being opinionated at a late hour. :) In any event, all I was saying was that having some code to resize user’s forms was better than building several versions of the same app with resized forms because both accomplish the same thing. My focus was on procedures that detected the user’s screen settings and changed the form size – not the user’s resolution.

I absolutely agree that irritants such as having the desktop icons repositioned each time the app is opened would drive even the most novice of user’s batty, and should not be a matter of practice. Now that I am more cognizant of the discussion at hand, I humbly stand corrected and withdrawal my 0.02000000 cents.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top