156c0 Maximize command
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,302| Members 19,419, Newest Nahluwalia| Online 539
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Maximize command

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Command-Line Startup Sharkbyte Information Technology 1 28-Jul-2006 08:30 AM
How do I fix problems with a command button? CJ Information Technology 1 28-Jul-2006 08:17 AM
Command Button in Database excel_hari@yahoo.com Information Technology 9 28-Jul-2006 08:15 AM
compact command Tony WONG Information Technology 2 28-Jul-2006 08:10 AM
Form maximize problem MarcoR Information Technology 2 28-Jul-2006 08:08 AM


Tags
maximize, command
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:26 AM
Helen's Avatar Helen
Guest
 
Posts: n/a
   
   
Maximize command

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have got a database which has a main page which then can open up three
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12148-maximize-command.html
forms which have been done with command buttons. Everytime i go into the
database my main form is not big enough i always have to maximize it. Is
there anyway that i could run a macro in the back ground so everytime i open
up the main page it is the size of the screen not a small page as it is quite
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
annoying to do this everytime.
Thanks


*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:26 AM
Wayne-I-M's Avatar Wayne-I-M
Guest
 
Posts: n/a
   
   
RE: Maximize command

Hi Helen

This is the answer I gave to Tia a few hours ago which I think may be what
you're looking for.

__________________________________________

Open the form in design view.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
Right click on the grey section of the form (below to space where you put
your buttons, box, lists, etc)
On the dropdown box select Event
Select On-Open
Click the build options (three dots on the right)
Select Code

You will see this

Private Sub Form_Open(Cancel As Integer)
End Sub


Insert one line of code (DoCmd.Maximize)
So that your code looks like this


Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub


Click Save and close your form.
When you open it again it "should" stay maximixed.


Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
--
Wayne
Manchester, England.



"Helen" wrote:

> I have got a database which has a main page which then can open up three
> forms which have been done with command buttons. Everytime i go into the
> database my main form is not big enough i always have to maximize it. Is
> there anyway that i could run a macro in the back ground so everytime i open
> up the main page it is the size of the screen not a small page as it is quite
> annoying to do this everytime.
> Thanks
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:26 AM
Steve Schapel's Avatar Steve Schapel
Guest
 
Posts: n/a
   
   
Re: Maximize command

Helen,

See my response in the macros newsgroup.

Just a hint for the future... if you feel it is important for your post
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
to appear in more than one newsgroup (in practice this is seldom
necessary), it is preferable to cross-post (address the same message
simultaneously to both groups), rather than multi-post (send a copy of
the message separately to each group). Thanks.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148

--
Steve Schapel, Microsoft Access MVP

Helen wrote:
> I have got a database which has a main page which then can open up three
> forms which have been done with command buttons. Everytime i go into the
> database my main form is not big enough i always have to maximize it. Is
> there anyway that i could run a macro in the back ground so everytime i open
> up the main page it is the size of the screen not a small page as it is quite
> annoying to do this everytime.
> Thanks
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:27 AM
Helen's Avatar Helen
Guest
 
Posts: n/a
   
   
RE: Maximize command

  Donate Today!  
Thank Wayne,

This did work when i completed it but when i closed down the data base and
went back into it it came up with;
The formmain Page is misspelled or refers to a form that doesnt exist. If
the invaild form name is in a macro, an Action failed dialog box will display
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
the macro name and the macro's arguments after you click ok. Open the Macro
window and enter the correct form name.

Any ideas what to do??

"Wayne-I-M" wrote:

> Hi Helen
>
> This is the answer I gave to Tia a few hours ago which I think may be what
> you're looking for.
>
> __________________________________________
>
> Open the form in design view.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12148
> Right click on the grey section of the form (below to space where you put
> your buttons, box, lists, etc)
> On the dropdown box select Event
> Select On-Open
> Click the build options (three dots on the right)
> Select Code
>
> You will see this
>
> Private Sub Form_Open(Cancel As Integer)
> End Sub
>
>
> Insert one line of code (DoCmd.Maximize)
> So that your code looks like this
>
>
> Private Sub Form_Open(Cancel As Integer)
> DoCmd.Maximize
> End Sub
>
>
> Click Save and close your form.
> When you open it again it "should" stay maximixed.
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "Helen" wrote:
>
> > I have got a database which has a main page which then can open up three
> > forms which have been done with command buttons. Everytime i go into the
> > database my main form is not big enough i always have to maximize it. Is
> > there anyway that i could run a macro in the back ground so everytime i open
> > up the main page it is the size of the screen not a small page as it is quite
> > annoying to do this everytime.
> > Thanks
> >

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
How does Sikhi help you...
Today 15:06 PM
36 Replies, 1,032 Views
Request for assistance...
Today 09:34 AM
10 Replies, 136 Views
Occultism - Rejection in...
Today 08:44 AM
62 Replies, 2,664 Views
‘Bigoted’ Facebook...
Today 08:32 AM
1 Replies, 61 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 49 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 75 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 314 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,659 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,559 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,274 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 398 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 43 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 942 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,120 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,931 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 17:25 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.37873 seconds with 32 queries
0