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


    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 Very idle programmer
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    4,688
    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 (Mendip Data Systems): Website, email
    Try again. Fail again. Fail better.
    A
    sking for help isn't giving up. Its refusing to give up.

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 - Senior Forums