Originally Posted By: Witto
On page 113 of the kix2010.doc of the kix2010_453.zip package, you can read that the syntax for WriteValue() is
 Quote:

WRITEVALUE ("subkey", "entry", "expression", "data type")

So per example the last WriteValue() should be
 Code:
WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\winvnc4", "DisableEffects", "0x00000001",  "REG_DWORD")

Put something like
 Code:
Get $

at the end of your code to keep your window open


You probably ment:
 Code:
WriteValue("HKLM\SOFTWARE\RealVNC\winvnc4","DisableEffects","1","REG_DWORD")