is it possible just to disable default menubar completely when open by user? (1 Viewer)

gino

Registered User.
Local time
Today, 08:44
Joined
Mar 16, 2000
Messages
117
can i just disable default menu bar? i can't seem to figure this out. i just don't want no menu bars open when user access my database through network.
 

R. Hicks

AWF VIP
Local time
Today, 02:44
Joined
Dec 23, 1999
Messages
619
Use the following command to disable the default menu.

CommandBars.Item(32).Enabled = False

You will need to figure where you need to run this line.

HTH
RDH
 

gino

Registered User.
Local time
Today, 08:44
Joined
Mar 16, 2000
Messages
117
nice code...anymore security tips? thanks
 

R. Hicks

AWF VIP
Local time
Today, 02:44
Joined
Dec 23, 1999
Messages
619
Gino I can give you code to disable and enable the shift key at start up if you want it. This will help some, but if you do not use user level security, the data in the database will not be secure. Anyone could open a new empty database, then import or link to the database, then alter, delete or do anything else they wish to the data. This is something you need to think about. If the data in your app is sensitive, you need to enable Access user level security. But if you are only wanting to keep the user from editing forms and such, you can get by with what you are trying to do. But user level security will do it all.

HTH
RDH
 

gino

Registered User.
Local time
Today, 08:44
Joined
Mar 16, 2000
Messages
117
i notice the code has a number in it

CommandBars.Item(32).Enabled = False

can you tell me how this code works because i was wondering if i can disable other menubars too! thanks.

[This message has been edited by gino (edited 05-19-2000).]
 

Users who are viewing this thread

Top Bottom