A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Disable Shift Code (help)



 
 
Thread Tools Display Modes
  #1  
Old December 12th, 2006, 11:59 PM posted to microsoft.public.access.forms
[email protected]
external usenet poster
 
Posts: 96
Default Disable Shift Code (help)

Hi,

I'm sorry and need your help with code.

I'm trying to figure it out. After reading the information from the
group, I was not successful to block shift without opening the database
tables.

After finishing finalize the database (.mdb) and convert to the
database (.mde), I was able to open the database windows tables to hold
the shift and double click on the database (.mde). I'm looking for
permanent block on MDE database.

I did unchecked boxes from startup completely. I still open the
database by using "hold shift and double click on the MDE database".

Your help would be much appreciated.

Thanks

  #2  
Old December 13th, 2006, 12:58 AM posted to microsoft.public.access.forms
Damian S
external usenet poster
 
Posts: 741
Default Disable Shift Code (help)

Hi Learning...

I hope you have a backup copy of your database, as conversion to MDE is a
one way street. Once you have converted to MDE your database is locked down
(as far as making design changes is concerned).

No amount of holding the shift key down will help you in this instance.

Damian.

" wrote:

Hi,

I'm sorry and need your help with code.

I'm trying to figure it out. After reading the information from the
group, I was not successful to block shift without opening the database
tables.

After finishing finalize the database (.mdb) and convert to the
database (.mde), I was able to open the database windows tables to hold
the shift and double click on the database (.mde). I'm looking for
permanent block on MDE database.

I did unchecked boxes from startup completely. I still open the
database by using "hold shift and double click on the MDE database".

Your help would be much appreciated.

Thanks


  #3  
Old December 13th, 2006, 01:11 AM posted to microsoft.public.access.forms
Warmy
external usenet poster
 
Posts: 3
Default Disable Shift Code (help)

You need to write some code to disable the shift key upon startup. Here it is:
Dim db As DAO.Database
Dim myProp As Property

Set myProp = db.CreateProperty("AllowBypassKey", dbBoolean, False)
db.Properties.Append myProp
db.Properties("AllowBypassKey").Value = False

Hope this is what your looking for.

--Craig

" wrote:

Hi,

I'm sorry and need your help with code.

I'm trying to figure it out. After reading the information from the
group, I was not successful to block shift without opening the database
tables.

After finishing finalize the database (.mdb) and convert to the
database (.mde), I was able to open the database windows tables to hold
the shift and double click on the database (.mde). I'm looking for
permanent block on MDE database.

I did unchecked boxes from startup completely. I still open the
database by using "hold shift and double click on the MDE database".

Your help would be much appreciated.

Thanks


  #4  
Old December 13th, 2006, 09:31 AM posted to microsoft.public.access.forms
Albert D. Kallal
external usenet poster
 
Posts: 2,874
Default Disable Shift Code (help)

create your mde, and then download my sample he

http://www.members.shaw.ca/AlbertKal.../msaccess.html
(shift key bypass example).

when you launch my sample, you can then "browse" to that mde file that YOU
made, and it will allow you to turn on, or off the shift key setting.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.