RegConnectΒΆ
RegConnect establishes a connection with the registry.
-
bool = RegConnect(ssReg)
-
bool = RegConnect(ssReg, ssComputer)
Return Value
Nonzero if a connection to the key was established, otherwise 0.
Parameters
-
ssReg
The name of the registry key to connect to.
-
ssComputer
Name of the computer to connect to.
Example
RegConnect("HKEY_CLASSES_ROOT")
RegOpen(".nc")
RegSetValue("", "nc file type")
RegCreate("nc file type\\Shell\\open\\command")
RegSetValue("", GetRootDirectory() + "Program\\UniPlot.exe")
RegCreate("nc file type\\Shell\\open\\ddeexec")
RegSetValue("", "[open(\"%1\")]")
See also
id-169896