This article was brought to you by the guys from VDF-GUIdance.
For more DataFlex targeted articles see http://www.vdf-guidance.com


Write a DWord to the registry

by Frank G. Vandervelpen

Summary

Normally if you write a value to the registry, it will be a string value. This document tells you how to write a DWord value
No Files Available
Date Created: 20/09/1999
Date Updated: 20/09/1999
Author: Frank G. Vandervelpen
Company: Velpe Development bvba


e-Mail us @ info@vdf-guidance.com
VDF GUIdance is a mutual project of
Frank Vandervelpen - Vandervelpen Systems and
Wil van Antwerpen - Antwise Solutions

Write a DWord to the registry


// In VDF7 or earlier you can use this:
Procedure Set FVProfDword global string spath string skey string svalue DWord dwValue 
  Reg_set_DWord spath skey svalue to dwvalue 
End_Procedure  //

Example


Procedure WindowNT_Serverke 
  set_registry_root to HKEY_LOCAL_MACHINE 'System' 
  // regpath sextention svalue setting 
  Set FVProfDWord 'CurrentControlSet\Services\LanmanServer' "FVSleutel" "FVValue" 1 
End_Procedure