Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: vb code for Hiding Menu Bar ?


Message #1 by "Mudry, Oleh" <Oleh.Mudry@s...> on Mon, 28 Jan 2002 19:04:58 -0500

> Hello,

> 

> Is there a PROGRAMMATIC way to hide (not tool bars but) the MENU BAR

> itself ?

> I can do so manually by:

> 

> *	choosing View / ToolBars / Customize

> *	then unchecking the Menu Bar item on the Toolbars tab

> 

> But how can I do so with visual basic ?

> 

> Thanks, in advance,

> 

> Oleh Mudry

Message #2 by Paul Streeter <PStreeter@C...> on Mon, 28 Jan 2002 21:54:50 -0600
Mudry, Oleh wrote:



>>Hello,

>>

>>Is there a PROGRAMMATIC way to hide (not tool bars but) the MENU BAR

>>itself ?

>>I can do so manually by:

>>

>>*	choosing View / ToolBars / Customize

>>*	then unchecking the Menu Bar item on the Toolbars tab

>>

>>But how can I do so with visual basic ?

>>

Have you looked at what you can do in startup?





Message #3 by George Oro <georgeoro@y...> on Mon, 28 Jan 2002 21:48:26 -0800 (PST)
Mudry,



Put this code on your StartUp form:



Private Sub Form_Open(Cancel As Integer)

    

    DoCmd.ShowToolbar "Menu Bar", acToolbarNo

    

End Sub



Cheers,



George



--- "Mudry, Oleh" <Oleh.Mudry@s...>

wrote:

> 

> > Hello,

> > 

> > Is there a PROGRAMMATIC way to hide (not tool bars

> but) the MENU BAR

> > itself ?

> > I can do so manually by:

> > 

> > *	choosing View / ToolBars / Customize

> > *	then unchecking the Menu Bar item on the

> Toolbars tab

> > 

> > But how can I do so with visual basic ?

> > 

> > Thanks, in advance,

> > 

> > Oleh Mudry

> 





$subst('Email.Unsub').





__________________________________________________

Do You Yahoo!?

Great stuff seeking new owners in Yahoo! Auctions! 

http://auctions.yahoo.com

Message #4 by "Mudry, Oleh" <Oleh.Mudry@s...> on Tue, 29 Jan 2002 08:41:28 -0500
George,



Sweet !   I thanks and salute you . . . 



Oleh



> -----Original Message-----

> From:	George Oro [SMTP:georgeoro@y...]

> Sent:	Tuesday, January 29, 2002 12:48 AM

> To:	Access

> Subject:	[access] Re: vb code for Hiding Menu Bar ?

> 

> Mudry,

> 

> Put this code on your StartUp form:

> 

> Private Sub Form_Open(Cancel As Integer)

>     

>     DoCmd.ShowToolbar "Menu Bar", acToolbarNo

>     

> End Sub

> 

> Cheers,

> 

> George

> 

> --- "Mudry, Oleh" <Oleh.Mudry@s...>

> wrote:

> > 

> > > Hello,

> > > 

> > > Is there a PROGRAMMATIC way to hide (not tool bars

> > but) the MENU BAR

> > > itself ?

> > > I can do so manually by:

> > > 

> > > *	choosing View / ToolBars / Customize

> > > *	then unchecking the Menu Bar item on the

> > Toolbars tab

> > > 

> > > But how can I do so with visual basic ?

> > > 

> > > Thanks, in advance,

> > > 

> > > Oleh Mudry

> > 





> $subst('Email.Unsub').

> 

> 

> __________________________________________________

> Do You Yahoo!?

> Great stuff seeking new owners in Yahoo! Auctions! 

> http://auctions.yahoo.com

> 





  Return to Index