Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2005, 05:33 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default New to VBA. Please help me.

Well I am newbie to VBA(Access).

I am developing a system for tracking employee work hours,they use common network server to share data so initially i used ASP to do so, but later on found that reporting is difficult, so decided to switch to Access 2003 (Is it fine to switch to? what about security as database will be on a commmon server?), further when I tried to go for option "Tools-Db uitilies-make MDE file" it says that "Cannot make MDE from 2000 file format".

So how to make .mde file in Access 2003?

Can I make .exe from Access file? or only .MDE is the solution?

If only .mde then what about security, as if I open .mde with shift key, it will open database which shows all the codes/forms.

Please guide any web-site (other than microsoft, as it is too much loaded)for ms access.

Thanks in advance.

 
Old May 27th, 2005, 07:54 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 248
Thanks: 0
Thanked 1 Time in 1 Post
Default

To make the MDE in 2003, your file has to be in 2002-2003 format. Go to Tools | Database Utilities | Convert Database | To 2002-2004 File Format. If you will never be developing under Access 2000, go to Tools | Options... and on the Advanced tab change the "Default File Format".

MDE is your only solution.

The shift key will only keep the startup options from running. You can disable the shift key for the database (current database project). This is done manually in code that you will run yourself. Don't try to put it in your start-up procedure because by the time the start-up runs, you have already missed the opportunity to disable the shift key. See http://support.microsoft.com/default...b;en-us;826765

The easiest way to disable it is to go to the Immediate window in the VBE and enter:

CurrentProject.Properties.Add "AllowBypassKey", False

Save the database and the shift key is disabled the next time the database opens. To renable the key for your testing:

CurrentProject.Properties.Remove "AllowBypassKey"

BTW, to find the KB on this I went to http://search.microsoft.com and typed

Access shift disable

in the search box. The article was the first to show in the list.

Randall J Weers
Membership Vice President
Pacific NorthWest Access Developers Group
http://www.pnwadg.org





Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA help davidbrooks Visual Basic 2008 Essentials 2 March 26th, 2008 07:25 PM
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
EXCEL VBA bem2x Beginning VB 6 1 September 1st, 2006 01:56 AM
Excel VBA to SQL & back to VBA edesousa Excel VBA 1 June 1st, 2004 02:39 AM
VBA bjackman Access 1 January 7th, 2004 12:43 AM





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