@Alex
unread,Dec 20, 2013, 9:20:01 AM12/20/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Aggiungi una CHIAVE nel Registry su TRUSTED LOCATIONS:
Ci sono diversi modi di farlo, suggerisco un BATCH file oppure un file REG da lanciare, oppure WsHost
Dim wshshell
Set wshshell = wscript.CreateObject("WScript.Shell")
wshshell.RegWrite KeyString...
MdBPath="\\\\MySrv\\etc..."
RootKey="HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations"
wshshell.RegWrite $RootKey,"AllowNetworkLocations",1,"REG_DWORD"
wshshell.RegWrite $RootKey+"\Location0","AllowSubfolders",1,"REG_DWORD"
wshshell.RegWrite $RootKey+"\Location0","Description","","REG_SZ"
wshshell.RegWrite $RootKey+"\Location0","Date",@date,"REG_SZ")
wshshell.RegWrite $RootKey+"\Location0","Path",$MdBPath,"REG_SZ"
roba simile... ovviamente attenzione alle VERSIONI ed al percorso corretto del Registry.
@Alex