Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Paul H's Avatar
    Paul H is offline Expert
    Windows 10 Access 2016
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591


    Quote Originally Posted by isladogs View Post
    See post #3
    I read post #3, but it didn't sink in. My developer friend straightened me out and wrote a .reg file for me.

    Now the .bat calls the .reg file and everything works like clockwork.

    Code:
    "C:\FITS\reg\FITS.reg"
    
    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\FITSLocation0]
    "Path"="C:\\FITS\\"
    "Description"="FITS Location"
    "Date"="02/18/2020 05:00 AM"
    
    
    [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\FITSLocation0]
    "Path"="C:\\FITS\\"
    "Description"="FITS Location"
    "Date"="02/18/2020 05:00 AM"
    Thanks to everybody that played.

    Paul

  2. #17
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,570
    Excellent.
    If you want to save your own reg file, open Regedit, right click on a key you want to reuse/modify for future use and click Export.
    This will create your own .reg file for future use.

    BTW - you might want to include subfolders in the trusted location. For example:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location0]
    "Path"="C:\\PROGRAMS\\MENDIPDATASYSTEMS\\"
    "AllowSubfolders"=dword:00000001
    "Description"="Mendip Data Systems folder"
    "Date"="15/12/2016 23:27"
    The value 00000001 means True
    Colin, MVP 2022, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #18
    wjfinnigan is offline Novice
    Windows 10 Office 365
    Join Date
    Dec 2022
    Posts
    1
    I'm going to go ahead and show my age here.

    I'm still packaging using the Access 2010 package function. I really wish it was still available in the current versions, however I've found that even though it properly adds the registry key including the database directory and a description, it is still poping up the error.

    On the code I'm using I've tried creating a location 9 and using the old standard I used to use of my initials. However both of them create registry keys in the trusted location but I still see the errors. My keys are getting created properly, but I'm still getting the errors. Do I need to include date, or additionally add network locations using the dword:00000001 ?

    I'm left scratching my head here. My registry keys look correct, but I'm still getting the popups.

    -John

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Trusted locations
    By kcmiuser in forum Security
    Replies: 1
    Last Post: 08-14-2013, 09:48 AM
  2. Trusted Locations and Active X controls
    By justphilip2003 in forum Security
    Replies: 14
    Last Post: 05-17-2013, 08:02 AM
  3. Trusted Publisher
    By rovman in forum Access
    Replies: 1
    Last Post: 10-22-2011, 02:55 PM
  4. Replies: 0
    Last Post: 01-26-2011, 05:51 PM
  5. Replies: 0
    Last Post: 07-09-2010, 06:22 AM

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