Maximizing the ACCESS window after changing screen resolution

roypython

Registered User.
Local time
Tomorrow, 00:19
Joined
May 16, 2005
Messages
29
Hi.
Thanks a lot for your help.
In my ACCESS app, I'm detecting at run-time the user's screen resolution.
If it's lower than 1024*768 I'm modifying it to 1024*768 and then I maximize the ACCESS window (NOT the forms).

My problem:
After changing the resolution, maximizing the window will maximise it to the max size of a window in 600*800 screen resolution and NOT to the maximum of a window in 1024*768 resolution.

The code:
' modify the resolution to 1024*768
call ChangeScreenResolution
' maximize the ACCESS window
DoCmd.RunCommand acCmdAppMaximize


(I also tried using "Call MaximizeAccess")


It's like ACCESS remembers the resolution when it starts to run, and therefore, maximising the window will correspond to the original resolution.

THanks a lot
Roy
 

Users who are viewing this thread

Back
Top Bottom