473,320 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to maximize a form with VBA

I'm using the startup feature of MS Access to open a form when i open a
database.

The problem i have is that i can't find a method to open the form fully
maximized.

Has anyone a solution

Thnx in advance

Peter
Nov 12 '05 #1
2 47355
Put
DoCmd.Maximize

in the form open event

Terry

"Peter" <pv******@home.nl> wrote in message
news:bm**********@news1.tilbu1.nb.home.nl...
I'm using the startup feature of MS Access to open a form when i open a
database.

The problem i have is that i can't find a method to open the form fully
maximized.

Has anyone a solution

Thnx in advance

Peter

Nov 12 '05 #2
In the On Activate event procedure for the form just put:

DoCmd.Maximize

Regards

Peter Russell

Peter previously wrote:
I'm using the startup feature of MS Access to open a form when i open a
database.

The problem i have is that i can't find a method to open the form fully
maximized.

Has anyone a solution

Thnx in advance

Peter


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brandon | last post by:
Hello there. I'm currently working on a moderately complex Visual C# windows application that I have run into a bit of a problem on. To start things off, the application has normally been run...
2
by: Mark | last post by:
If my application gets minimized, how can I maximize it again? Mark
2
by: Jerome Ranch | last post by:
Okay What property of a form do I need to change so that it opens full screen? I'm calling it to open from VBA. I built a form today, and while I was playing with it (to test some of the...
13
by: John | last post by:
Hi, I have on form MenuBar, Toolbar, and Grid control. Form property is set to form opens as Maximized. Form maximizes through whole screen, but I don't see bottom part of grid, because...
5
by: Mrozu | last post by:
Hi When I maximize a form in VB.Net 2003 the bottom of the form gets hidden by the start bar (so my status bar is invisible). How can I get my app to maximize to the usable screen area above...
0
by: NiTiN | last post by:
Hi! I'm creating a Windows Application project and am using forms to add to a panel (instead of controls or MDI). I seem to have a problem with getting the forms to maximize, thus my anchor...
2
by: Kevin | last post by:
Does anyone know a simple way to have a program start with the main form maximized on Display2?
2
by: hawaiijeff | last post by:
I thought I solved this problem before, but apparently not. I have a form called main_menu which contains a whole bunch of buttons to access other forms. One of those buttons simply opens a table...
2
by: =?Utf-8?B?S2F5xLFoYW4=?= | last post by:
i have a datagridview on my Form. When i maximize form ,datagridview remains in its initial size. i want it rearrage itself with parent form. is it possible to solve on v.studio design mode ...
6
by: MarwaAlSagheer | last post by:
hi How can we run the app on full-screen. I mean all the controls such as, pictureboxe, button on the form would also be re-located when run application at maximize window state Currently, when...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.