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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database window size

Status
Not open for further replies.

gibblin

Technical User
Oct 9, 2003
27
GB
Is there anyway of specifying the actual database window (program window) on start-up?
I want to acheive this to avoid problems with screen resolution and want to disable the maximize option so the user can either keep it at the pre-determined size or minimize it.

If anyone can help i'd be grateful.

Cheers.
 
menu Tools -> Startup ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks for your quick reply, but i haven't explained what i want properly.

I want to specify the size of the actual MS Access window (not the database window where the objects are), so i can fit the whole database into a 800 x 600 screen. Then if the user has a 1024 x 768 screen the actual Access window won't have big blank spaces.

Does this make sense?
 
Hi

Perhaps this could leed you in the right direction:

DoCmd.RunCommand acCmdAppRestore
Try playing with the DoCmd.RunCommand and see what you can find, it has 1000's of poss.



Herman

They say that crime doesn't pay... does that mean my job is a crime?
 
Hi, cheers for your reply i will have a look.

However i've thought of another possibility, how about determining the DoCmd.movesize option of my forms depending on what resolution the screen is on start-up?
 
I know that you can find the screen resolution via Kernel32.dll, but I do not know how. I am sorry

Herman

They say that crime doesn't pay... does that mean my job is a crime?
 
I'll have a look into them. Thanks for all your help everyone, appreciated.
 
And it works too - Thx Zameer

Herman

They say that crime doesn't pay... does that mean my job is a crime?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top