Disable shift key
Posted by: fredometro on
Jan 1st, 2004 |
Filed under: MS-Access
Prevents the user to bypass auto-form or auto-macro by pressing shift key.
More options are set to user mode.
Function SetStartupProperties()
ChangeProperty “StartupForm”, dbText, “Customers”
ChangeProperty “StartupShowDBWindow”, dbBoolean, False
ChangeProperty “StartupShowStatusBar”, dbBoolean, False
ChangeProperty “AllowBuiltinToolbars”, dbBoolean, False
ChangeProperty “AllowFullMenus”, dbBoolean, True
ChangeProperty “AllowBreakIntoCode”, dbBoolean, False
ChangeProperty “AllowSpecialKeys”, dbBoolean, True
ChangeProperty “AllowBypassKey”, dbBoolean, True
End Function
Function ChangeProperty(strPropName As String,
varPropType As Variant, varPropValue As Variant) As Integer
Dim dbs As Database, prp As Property
Const conPropNotFoundError = 3270
Set dbs = CurrentDb
On Error GoTo Change_Err
dbs.Properties(strPropName) = varPropValue
ChangeProperty = True
Change_Bye:
Exit Function
Change_Err:
If Err = conPropNotFoundError Then
Set prp = dbs.CreateProperty(strPropName, _
varPropType, varPropValue)
dbs.Properties.Append prp
Resume Next
Else
ChangeProperty = False
Resume Change_Bye
End If
End Function


December 12th, 2009 at 2:22 am
Nylon Foot Models
December 12th, 2009 at 2:23 am
Ass Corruption
December 12th, 2009 at 2:24 am
Sexy Suck Jobs
December 12th, 2009 at 2:25 am
Ivanafukalot
December 12th, 2009 at 2:26 am
Pregnant and Fucked
December 12th, 2009 at 2:27 am
Sexy Moms
December 12th, 2009 at 2:28 am
Indian Sex Pass
December 12th, 2009 at 2:29 am
Sexy Jaqui
December 12th, 2009 at 2:30 am
Hubby Watches Wife
December 12th, 2009 at 2:31 am
Amateurs Gone Bad
December 12th, 2009 at 2:32 am
Busty May
December 12th, 2009 at 2:34 am
Sweet N Soft
December 12th, 2009 at 2:35 am
SaRennas World
December 12th, 2009 at 2:36 am
Hardcore Max
December 12th, 2009 at 2:37 am
Karen Udders
January 14th, 2010 at 8:36 pm
I inclination not agree on it. I over nice post. Especially the title attracted me to review the sound story.
January 18th, 2010 at 4:49 pm
Nice dispatch and this fill someone in on helped me alot in my college assignement. Say thank you you on your information.
January 21st, 2010 at 2:44 am
Brim over I agree but I dream the post should have more info then it has.
January 21st, 2010 at 12:41 pm
Easily I to but I think the list inform should prepare more info then it has.
Add A Comment
You must be logged in to post a comment.