Hi,
There are several options. As mentioned by Alexandre, you can use the registry class from the FFC. You could use API calls which is a bit more tricky or the WSH which is the easiest option in my opinion:
loWSH = CREATEOBJECT("wscript.shell")
?loWSH.RegRead("HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\7.0\Options\EXACT")
?loWSH.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\7.0\Options\EXACT", "ON")
?loWSH.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\7.0\Options\EXACT", "OFF")
Some useful Windows API links:
http://fox.wikis.com/wc.dll?Wiki~Win32API~WIN_COM_DNAhttp://www.news2news.com/vfp/index.phphttp://www.levelextreme.com/Live/API.asp>how to read & write a value to registry?
>BTW any idea how to master windows API function?
>thanks.
Daniel