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!

Change NT screen resolution from within Forms

Status
Not open for further replies.

djmartin

Programmer
Mar 26, 2001
27
AU
Hi,

Some users have their screens set to 640x480 and I want to change them to 800x600 for the duration of their use of the Forms aplication.

Does anyone know how to do this?

David
 
i have the same problem >>> i want my window 2 readjusted on screen resolution but don't know how !
 
Get_Application_Property(DISPLAY_HEIGHT) and DISPLAY_WIDTH will tell you the current screen resolution, returned in the same co-ordinate units you have defined for your form. Use this to change the size and/or position of your forms.

Forms cannot directly change the users screen resolution. You would have to use a third party dll to do that. Would you want to force a larger resolution than the user has set anyway? Maybe they only use 640x480 because 800x600 is not available on their PCs. On our project we stipulate that the application must run in a mimimum of 800x600 and it is up to the user to change resolution or upgrade their graphics cards!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top