Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Shift Key bypass

0 views
Skip to first unread message

Silvester

unread,
Mar 29, 2004, 9:51:35 AM3/29/04
to
Can someone tell me how & where to call the shift key bypass code
Function ChangePropertyDdl(stPropName As String, _
PropType As DAO.DataTypeEnum, vPropVal As Variant) _
As Boolean
found at

http://www.mvps.org/access/general/gen0040.htm

How should I call this function & from where ?


Bruce M. Thompson

unread,
Mar 29, 2004, 1:43:05 PM3/29/04
to

An even easier solution would be to download an MDB that will set that property
for you. Just go to the following page at Albert Kallal's site:

http://www.attcanada.net/~kallal.msn/msaccess/msaccess.html

Scroll down to the section entitled "By Pass Shift Key Code" and download the
version appropriate to your installation.

--
Bruce M. Thompson, Microsoft Access MVP
bthm...@mvps.org (See the Access FAQ at http://www.mvps.org/access)
>> NO Email Please. Keep all communications
within the newsgroups so that all might benefit.<<


Silvester

unread,
Mar 29, 2004, 10:11:18 PM3/29/04
to
Thanks. But the code found at that url allows anyone to reset the shift key

"Bruce M. Thompson" <bthmpson@big_NOSPAM_foot.com> wrote in message
news:Oko$x2bFEH...@tk2msftngp13.phx.gbl...

Bruce M. Thompson

unread,
Mar 30, 2004, 2:30:33 PM3/30/04
to
> Thanks. But the code found at that url allows anyone to reset the shift key

Guess what - so does any code that sets the property. Just don't pass that file
around.

Joan Wild

unread,
Mar 30, 2004, 6:17:52 PM3/30/04
to
Not quite Bruce. If you have a secure mdb, and a member of the Admins group
sets the allowbypasskey, only a member of the Admins group (in the mdw that
was used to secure it) can set it back.


In an unsecure mdb, you're quite right. Since the OP is asking this in the
security group, I assume (perhaps wrongly) that the mdb is secure.
--
Joan Wild
Microsoft Access MVP

"Bruce M. Thompson" <bthmpson@big_NOSPAM_foot.com> wrote in message

news:ez1M81o...@TK2MSFTNGP09.phx.gbl...

Bruce M. Thompson

unread,
Mar 30, 2004, 7:14:16 PM3/30/04
to
> Not quite Bruce. If you have a secure mdb, and a member of the Admins group
> sets the allowbypasskey, only a member of the Admins group (in the mdw that
> was used to secure it) can set it back.

Thanks, Joan. I should have qualified that statement accordingly. I guess I was
having an insecure moment.

:-)

TC

unread,
Mar 31, 2004, 12:54:03 AM3/31/04
to
You realize that if the DDL parameter of the CreateProperty() call is set to
true, only a member of the Admins group will be able to reset the property?

Cheers,
TC


"Bruce M. Thompson" <bthmpson@big_NOSPAM_foot.com> wrote in message

news:ez1M81o...@TK2MSFTNGP09.phx.gbl...

TC

unread,
Mar 31, 2004, 12:54:56 AM3/31/04
to
>If< the DDL parameter of the CreateProperty() statement is True :-)

TC


"Joan Wild" <jw...@nospamtyenet.com> wrote in message
news:em#9czqFE...@TK2MSFTNGP09.phx.gbl...

Bruce M. Thompson

unread,
Mar 31, 2004, 12:11:06 PM3/31/04
to
> >If< the DDL parameter of the CreateProperty() statement is True :-)

I wasn't aware of that particular detail (I have never actually implemented
user-level security *and* setting the AllowBypassKey property together). Thanks,
TC.

Joan Wild

unread,
Mar 31, 2004, 1:54:03 PM3/31/04
to
TC wrote:
>> If< the DDL parameter of the CreateProperty() statement is True :-)


Well that is what the OP was doing.:-)

Bruce M. Thompson

unread,
Mar 31, 2004, 6:34:48 PM3/31/04
to
> > >If< the DDL parameter of the CreateProperty() statement is True :-)
>
> I wasn't aware of that particular detail (I have never actually implemented
> user-level security *and* setting the AllowBypassKey property together).
Thanks,
> TC.

I guess if I had *looked* at that page at The Access Web, I would have seen that
the article was not addressing the issue of setting the AllowBypassKey property,
but rather about securing the same. Another one landed in that empty space
between my ears!

:-(

TC

unread,
Mar 31, 2004, 10:00:21 PM3/31/04
to
It raises the question of whether a >non< member of the Admins group can set
that parameter! (thereby creating a property that he can not, thereafter,
alter)

I don't have Access here to try. Anyone like to give it a blast?

Cheers,
TC


"Bruce M. Thompson" <bthmpson@big_NOSPAM_foot.com> wrote in message

news:e0aUrM0F...@TK2MSFTNGP09.phx.gbl...

0 new messages