PC Review


Reply
Thread Tools Rate Thread

allow user to set startup options

 
 
Jahanzaib
Guest
Posts: n/a
 
      5th Nov 2008
please help..

How can I allow a user (created with user level security wizard) to set
startup options (like 'allow full menus') of Application.
Regaards

JB
 
Reply With Quote
 
 
 
 
NevilleT
Guest
Posts: n/a
 
      5th Nov 2008
Hi.
You can find out the user login and work from there.

Select Case CurrentUser 'Set the startup
properties

Case "Admin"
MsgBox "Program is not set up correctly. " & _
"See your System Administrator to provide a correct shortcut " & _
"including reference to the workgroup file."

DoCmd.Quit ' Exit Microsoft
Access.

Case "sysadmin"
Application.MenuBar = "SysAdminMenuBar" 'Show the
administrator menu
DoCmd.ShowToolbar "SysAdminMenuBar", acToolbarYes 'Show the system
admin toolbar
DoCmd.ShowToolbar "ToolbarUser", acToolbarYes 'Show the user
toolbar
DoCmd.ShowToolbar "Form Design", acToolbarNo 'Don't show the
form design toolbar
DoCmd.ShowToolbar "Form View", acToolbarNo 'Don't show the
form view toolbar

ChangeProperty "AllowFullMenus", dbBoolean, True
ChangeProperty "AllowShortcutMenus", dbBoolean, True
ChangeProperty "AllowBreakIntoCode", dbBoolean, False
ChangeProperty "StartupShowDBWindow", dbBoolean, True
ChangeProperty "StartupShowStatusBar", dbBoolean, True
ChangeProperty "AllowBuiltinToolbars", dbBoolean, True
ChangeProperty "AllowToolbarChanges", dbBoolean, False
ChangeProperty "AllowSpecialKeys", dbBoolean, False
ChangeProperty "AllowBypassKey", dbBoolean, True

Hope that helps

www.projectperfect.com.au
Project Infrastructure Specialists

"Jahanzaib" wrote:

> please help..
>
> How can I allow a user (created with user level security wizard) to set
> startup options (like 'allow full menus') of Application.
> Regaards
>
> JB

 
Reply With Quote
 
Keith Wilby
Guest
Posts: n/a
 
      5th Nov 2008
"Jahanzaib" <(E-Mail Removed)> wrote in message
newsF153A6B-C3B3-49BD-80C4-(E-Mail Removed)...
> please help..
>
> How can I allow a user (created with user level security wizard) to set
> startup options (like 'allow full menus') of Application.
> Regaards
>
> JB


Tell them to hold down the shift key when they open the file.

Keith.
www.keithwilby.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
STARTUP OPTIONS Vic Microsoft Access Forms 1 28th Dec 2008 03:47 AM
HOW to Stop STartup Programs that do not show in the "startup" folder or have options in the programs to not start at windows startup james Windows Vista Installation 3 30th Jun 2008 01:22 AM
Disable F8 during startup - Disable Advanced startup options scree Chris VDP Windows Vista Security 1 5th Mar 2008 05:45 PM
User options at startup?? The Kat Microsoft Windows 2000 1 6th Oct 2007 10:24 AM
F8 for startup options Bob Brannon Windows XP General 2 7th Oct 2003 05:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.