Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Developers Extensions Package Wizard add Registry Key Issue

Status
Not open for further replies.

Yarcadian

Programmer
Mar 17, 2004
30
US
Hello, I am using the Developers Extensions Package Wizard to deploy a runtime version and I need to modify the registry to set the Macro Security to Low. The key location is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Access\Security with a DWORD key called Level and the value set to 1.

The problem I am having is creating the key as a DWORD and not a String. Any Clues? TIA

David


 
One way is to use the scripting runtime:
CreateObject("WScript.Shell").RegWrite "HKLM\SOFTWARE\Microsoft\Office\11.0\Access\Security\Level", 1, "REG_DWORD"


Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top