Here's a snippet I've been using for some time now, hope it helps;prototype Get_JRE_Folder(BYREF STRING) ;function Get_JRE_Folder( JRE_dir) NUMBER nResult,nSetupType,nRootKey, keyType,nvSize; STRING keyString, JRE_Version;begin RegDBSetDefaultRoot(H...