Ask Experts Questions for FREE Help !
Ask
    XYZ.2011's Avatar
    XYZ.2011 Posts: 1, Reputation: 1
    New Member
     
    #1

    Feb 12, 2012, 01:01 AM
    Bypass the bypass key
    Hi everyone, I found a code for bypassing the shift key in access but I don't know where to keep this code. The codes are follows:
    =================================================
    Public Sub SetStartupOptions(propname As String, _
    propdb As Variant, prop As Variant)
    'Set passed startup property.
    Dim dbs As Object
    Dim prp As Object
    Set dbs = CurrentDb
    On Error Resume Next
    dbs.Properties(propname) = prop
    If Err.Number = 3270 Then
    Set prp = dbs.CreateProperty(propname, _
    propdb, prop)
    dbs.Properties.Append prp
    End If
    Set dbs = Nothing
    Set prp = Nothing
    End Sub
    =============================================
    The code above I don't know where I have to write this code and here the other code
    =============================================
    Call SetStartupOptions("AllowBypassKey", dbBoolean, False)
    Call SetStartupOptions("StartupShowDBWindow", dbBoolean, False)
    =============================================

    Please help!
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Mar 30, 2012, 04:44 AM
    Where did you find the code? There should have been instructions on how to use it.

    The SetStartup subroutine goes in a global module.

    The Call routines are what you run to set or unset the options.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

What is gastric bypass? [ 2 Answers ]

I want to look in to getting this done and I just want to know more about every thing I look up on it I get different answers. I want to know how much you have to weight to get in done and how old you have to be

Should I get Gastric Bypass? [ 11 Answers ]

I'm 5'6" and I weighed 200 in June of 07'... now.. march 01st of 08 I weight 255... happened?. I don't eat ne differently.. I don't work out that much but I never really have... I mean do I need to get this done?. ive tried everything and I just can't lose the weight! It just keeps adding up... and...

How do I bypass the remote [ 1 Answers ]

Can operate the light on the ceiling fan from the wall switch. If the light is on the fan will not work. I can turn the fan on but can not shut it off with the remote. Can only turn the fan on with the light off.

How do I bypass dansguardian [ 2 Answers ]

I'm stuck in the hospital and using my laptop. They have wireless internet for the public but ruin it with "dansguardian". I can't go to sites such as "full tilt poker" and even some news web sites get blocked by it. Oddly, myspace was hit or miss on what profiles I could view. Not sure why...

Gastric bypass [ 4 Answers ]

I had gastric bipass surgery in 2003 . Greatest thing I ever did. I have lost 142 lbs. Now how to get rid of skin other that surgery? I keep exersizing? HELP!! ANY SUGESTIONS? THANKS


View more questions Search