Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Modules & VBA

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-22-2007, 08:11 AM
loo8866 loo8866 is offline
Registered User
 
Join Date: Jan 2007
Posts: 106
loo8866 is on a distinguished road
Custom Menus Not loading

Hi There,

Ive made a number of custom menus, which work great. But they don't seem to load when i first open the database. When the database opens I hide all the main access menus etc by:

Dim i As Integer

For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

Im assuming this is preventing my custom menus from loading? If so..does any1 know how to not hide the part needed for custom menus?

Many thanks..
Reply With Quote
Sponsored Links
  #2  
Old 03-22-2007, 08:19 AM
boblarson's Avatar
boblarson boblarson is online now
Super Moderator
 
Join Date: Jan 2001
Posts: 22,003
boblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to all
So, not running that code and unchecking the ALLOW BUILT-IN TOOLBARS in the Startup Options doesn't work for hiding what you need hidden?
__________________
Thanks,

Bob Larson

Free samples, tools and tutorials (including Auto Frontend Update Enabling Tool)

"Have you tried turning it off and on again?"
Reply With Quote
  #3  
Old 03-22-2007, 08:25 AM
loo8866 loo8866 is offline
Registered User
 
Join Date: Jan 2007
Posts: 106
loo8866 is on a distinguished road
mm yeh that works better without the code actually. Is there code to display the main access menus at the top of the screen? the code below just seems to open the database window:

For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i
Reply With Quote
  #4  
Old 03-22-2007, 08:27 AM
boblarson's Avatar
boblarson boblarson is online now
Super Moderator
 
Join Date: Jan 2001
Posts: 22,003
boblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to all
Not sure as I haven't used custom toolbars in a LONG time.
__________________
Thanks,

Bob Larson

Free samples, tools and tutorials (including Auto Frontend Update Enabling Tool)

"Have you tried turning it off and on again?"
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Report Page Setup Issues - Losing Custom Page Size gjgerson Reports 2 03-06-2006 09:40 AM
Turning Adaptive Menus off. Uncle Bob Forms 0 07-12-2005 05:27 AM
Custom Menu Bar As Default tmort General 2 03-01-2005 03:56 AM
Added custom toolbar to report and now it's gone! EagleMon Reports 0 12-05-2004 07:08 PM
Custom Menus and security crann General 1 11-24-2002 07:39 AM


All times are GMT -8. The time now is 09:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World