Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 3rd, 2004, 07:23 PM
Friend of Wrox
 
Join Date: Aug 2003
Location: Warks, Warks, United Kingdom.
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default Menus and pop-up windows


I have just built a Access 2000 database for a local charity I volunteering for, and am wanting to make it a stand lone application. Being a little rusty with my Access skills I was wondering if somebody could advise me how I can make my control form start straight up and hide table definitions etc. from the user? By doing this I also want to limit the menu functions when the database is run.

I know these things are possible, but I cannot remember how to do it. I would appreciate somebody pointing me in the right direction. I have tried doing a search using the Access help but can' t find what I am looking for.

Gaz
__________________
Gaz
Reply With Quote
  #2 (permalink)  
Old March 3rd, 2004, 09:32 PM
Authorized User
 
Join Date: Feb 2004
Location: Edmonton, Alberta, Canada.
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Open the 'Tools' menu, 'Startup' and you can set things like start up form and there are a number of tool bar options that meet many of your basic needs. You can also name a macro 'autoexec' and have it run (RunCode) a function procedure that opens one or more forms and allows/disallows toolbars depending on which user is opening the application or the name of the computer on which it is run. For example, I have a procedure that returns the NT login (not shown below) that only allows me to use the built in toolbars:

If gUser <> "jurgenw" Then Application.SetOption "Built-In Toolbars Available", False


Ciao
Jürgen Welz
Edmonton AB Canada
jwelz@hotmail.com
Reply With Quote
  #3 (permalink)  
Old March 4th, 2004, 12:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Melbourne, Vic, Australia.
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want to massively limit your users - i.e. not let them do ANYTHING other than use your forms - set them all to maximize on load and set the border style to none.
Once you've done that, and you're sure your database works perfectly, you can set the "Shortcut Menu" property of all your forms to No

Steven

I am a loud man with a very large hat. This means I am in charge
Reply With Quote
  #4 (permalink)  
Old March 4th, 2004, 04:59 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You can also give then an MDE, a compiled form of DB under Tools|Databsse Utilities. Make sure you keep an uncompiled version for yourself:)

--

Joe
Reply With Quote
  #5 (permalink)  
Old March 4th, 2004, 06:00 AM
Friend of Wrox
 
Join Date: Aug 2003
Location: Warks, Warks, United Kingdom.
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for all your help it's most useful. My knowledge is flooding back lol. What I was also trying to ask is how I can limit the functions on the Access menu bar when the database is run?

Gaz
Reply With Quote
  #6 (permalink)  
Old March 4th, 2004, 06:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Melbourne, Vic, Australia.
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could create your own menu bars, and hide all the others

I am a loud man with a very large hat. This means I am in charge
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Pop-up Menus JazzyJ Dreamweaver (all versions) 0 July 12th, 2006 12:17 AM
dynamically generated pop up menus... elladi Dreamweaver (all versions) 7 August 1st, 2004 03:31 AM
frames and pop-up menus like oil and water? bee Dreamweaver (all versions) 1 October 26th, 2003 02:58 PM



All times are GMT -4. The time now is 09:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.