This function adds a new registry key of the patient.
object.AddRegistryKey(aKeyCode, aKeyValue)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aKeyCode |
In, Required | string |
The code of the registry key |
aKeyValue |
In, Required | string |
The value of the registry key |
Add a new registry key with the selected code and value.
Dim aPatient
Dim aRegistryKey
Dim aMessage
Set aPatient = Profile.SelectPatient
Set aRegistryKey = aPatient.AddRegistryKey("FIRSTLOGIN", "False")
aMessage = aMessage & vbNewLine
aMessage = aMessage & "New registry key " & aRegistryKey.KeyCode.Description
aMessage = aMessage & " was added successfully!"
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Registry Key can be added and found in
.