Results 1 to 8 of 8
  1. #1
    joekuhn is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    18

    SendKey

    I am using a "SendKey" macro in my database and it works ok except the first time I use it it shows a warning message and when I click ok it turns off the Numeric Lock. How can I prevent the warning message from coming up and avoid the Numeric Lock from being turned off? The database is in a safe location and I am using Access 2007 with Windows Vista. Help!

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    setwarnings off
    or
    DoCmd.Setwarnings False

  3. #3
    joekuhn is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    18
    Thank you for your suggestion. I have the setwarnings on "no" in the macro and the following message still comes up. I also tried the Docmd in the "On Open" property and the same thing happens. Any suggestions on how I can get around this?

    "Microsoft Office Access Security Notice
    A potential security concern has been identified.
    Warning: It is not possible to determine that this content came from a trustworthy source. You should leave this content disabled unless the content provides critical functionality and you trust its source.
    File Path: C:\.. -FT OFFICE\OFFICE1\ACCWIZ\UTILITY.ACCDA
    This file might contain unsafe content that could harm your computer. Do you want to open this file or cancel the operation?
    More information
    Open"

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    have you set the folder it is located in to be a "trusted location" in your Access security settings?

  5. #5
    joekuhn is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    18
    "My Documents" folder which contains all my files is declared a trusted location. I am assuming that that includes all subfolders.

  6. #6
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    There is a checkbox for subfolders. Open up your trust center and make sure it's checked. Outside of that, I really dont know what else to advise.

  7. #7
    joekuhn is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    18
    Any suggestions where else I might look for help?

  8. #8
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    1. Google
    2. wait until someone else replies
    3. try other forums

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums