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

api shellexecute will not maximize

Status
Not open for further replies.

newnoviceuser

Programmer
Jan 4, 2003
63
US
I am truly confused here I am using the shellexecute to load a different database so I can use the forms.
it took me a while but I finally got it to work how I want except for one thing.
when I use the shellexecute command it loads the window but only over half the screen it looks very unprofessional I can not get it to maximize automatically.
i am using the 3 that is suppose to mean maximize but it makes no difference.
any suggestions?
I am using xp if that\makes a difference.
 
Try using the following in all you Apps Startup Form's "On Activate" event. Will guarantee they always open maximized.

DoCmd.RunCommand acCmdAppMaximize 'maximizes application window
DoCmd.Maximize 'maxizes form window
 
thanks you all have helped me so much through this I am almost finished with what I thought was going to be a forever long process. much to the help I have received here.
my code looks much more professional now
thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top